From 322ec5e23a4560d27747eefef168cf8f97553b17 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 3 Dec 2013 21:36:39 -0500 Subject: [PATCH] Whoops, shouldn't use autoincrement with a macro; forgot about side effects! --- sbr/encode_rfc2047.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbr/encode_rfc2047.c b/sbr/encode_rfc2047.c index e1a47855..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; -- 2.56.0