From 09c6cb9e3be2655b842e13dd68879cb10cf52acf Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Mon, 21 Nov 2022 13:56:37 -0500 Subject: things --- lib/base64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/base64.c') diff --git a/lib/base64.c b/lib/base64.c index b6a8e5d..07caa0a 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -58,7 +58,7 @@ size_t base64_encode_size(size_t len) { size_t olen; olen = len * 4 / 3 + 4; /* 3-byte blocks to 4-byte */ - olen += olen / 72; /* line feeds */ + // olen += olen / 72; /* line feeds */ olen++; /* nul termination */ Assert(olen >= len); return olen; @@ -85,7 +85,7 @@ void base64_encode(const unsigned char *src, size_t len, in += 3; line_len += 4; if (line_len >= 72) { - *pos++ = '\n'; + // *pos++ = '\n'; line_len = 0; } } -- cgit v1.2.3