scribo

Email-based phlog generator
git clone git://git.z3bra.org/scribo.git
Log | Files | Refs

commit 215d539f5dd87b190eb14288c6e45b9ac197fee4
parent 14e99223e1d8bb592c4622a27ca14ddc0ce082ce
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue,  8 Sep 2020 21:16:06 +0200

Always write entries content

Diffstat:
Mscribo.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scribo.c b/scribo.c @@ -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);