X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/50c8114d791602fcc427c6dc94b55f3226e8a21d..37c403585f3a2831347ab6785ab5cb86d5064433:/sbr/encode_rfc2047.c diff --git a/sbr/encode_rfc2047.c b/sbr/encode_rfc2047.c index ac340f71..ac2b6dc3 100644 --- a/sbr/encode_rfc2047.c +++ b/sbr/encode_rfc2047.c @@ -517,8 +517,8 @@ unfold_header(char **value, int len) * This has the side effect of stripping off the final newline * for the header; we put it back in the encoding routine. */ - while (is_fws(*q++)) - ; + while (is_fws(*q)) + q++; if (*q == '\0') break; @@ -721,8 +721,8 @@ do_reformat: */ if (groupflag && ! mn->m_ingrp) { - output = add("; ", output); - column += 2; + output = add(";", output); + column += 1; } groupflag = mn->m_ingrp;