scribo

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

commit 717b28da17db5e0e9565d8e407171c1e65766307
parent a5dc2e472e6f1556f303a331be44384f25dfc142
Author: Willy Goiffon <dev@z3bra.org>
Date:   Wed,  9 Sep 2020 08:44:26 +0200

Rename write_b64() to write_base64()

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

diff --git a/scribo.c b/scribo.c @@ -39,7 +39,7 @@ struct hdr * saveheader(struct headers *, char *); int parseheaders(FILE *, struct headers *); int verifyheaders(struct headers *); int write_8bit(FILE *, FILE *); -int write_b64(FILE *, FILE *); +int write_base64(FILE *, FILE *); int writeentry(FILE *, char *, struct headers *); int writeindex(FILE *, char *); @@ -186,7 +186,7 @@ write_8bit(FILE *in, FILE *out) } int -write_b64(FILE *in, FILE *out) +write_base64(FILE *in, FILE *out) { size_t bufsiz; ssize_t len; @@ -236,7 +236,7 @@ writeentry(FILE *in, char *dir, struct headers *head) fprintf(out, titlefmt, subject); if (transfer && !strncmp(transfer, "base64", 6)) - write_b64(in, out); + write_base64(in, out); else write_8bit(in, out);