]> 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 e1a47855d8182de8bf5963b4809b6a4ef34231f5..ac2b6dc3913974eb6bd4b59fb014da6d4e6c53f3 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;