tAlways write entries content - scribo - Email-based phlog generator
 (HTM) git clone git://git.z3bra.org/scribo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 215d539f5dd87b190eb14288c6e45b9ac197fee4
 (DIR) parent 14e99223e1d8bb592c4622a27ca14ddc0ce082ce
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Tue,  8 Sep 2020 21:16:06 +0200
       
       Always write entries content
       
       Diffstat:
         M scribo.c                            |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/scribo.c b/scribo.c
       t@@ -233,10 +233,10 @@ writeentry(FILE *in, char *dir, struct headers *head)
        
                fprintf(out, titlefmt, subject);
        
       -        if (!transfer || !strncmp(transfer, "8bit", 4))
       -                write_8bit(in, out);
       -        else if (!strncmp(transfer, "base64", 6))
       +        if (transfer && !strncmp(transfer, "base64", 6))
                        write_b64(in, out);
       +        else
       +                write_8bit(in, out);
        
                fprintf(out, "\n%s\n", stamp);