]> diplodocus.org Git - nmh/commitdiff
Whoops, shouldn't use autoincrement with a macro; forgot about side
authorKen Hornstein <kenh@pobox.com>
Wed, 4 Dec 2013 02:36:39 +0000 (21:36 -0500)
committerKen Hornstein <kenh@pobox.com>
Wed, 4 Dec 2013 02:36:39 +0000 (21:36 -0500)
effects!

sbr/encode_rfc2047.c

index e1a4785..ac2b6dc 100644 (file)
@@ -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;