diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-11-21 13:56:37 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-11-21 13:56:37 -0500 |
commit | 09c6cb9e3be2655b842e13dd68879cb10cf52acf (patch) | |
tree | 62b19be03e7fd0e9235953e8517980e7c11b059e /lib/base64.c | |
parent | 990bd319c696c2b65fa858b40fd75279fec2a13b (diff) |
things
Diffstat (limited to 'lib/base64.c')
-rw-r--r-- | lib/base64.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |