* post increment...
authorWilfried Göesgens <willi@citadel.org>
Sun, 21 Feb 2010 12:42:47 +0000 (12:42 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 21 Feb 2010 12:42:47 +0000 (12:42 +0000)
libcitadel/lib/mime_parser.c

index c46c01b4fe653a815443dd6507942c5eb19b7589..6db2074a4cf49789573a998bd2447aab28f4a65b 100644 (file)
@@ -59,7 +59,7 @@ void extract_key(char *target, char *source, long sourcelen, char *key, long key
        }
        strcpy(target, (ptr + RealKeyLen));
 
-       for (ptr=target; (*ptr != 0); ++ptr) {
+       for (ptr=target; (*ptr != 0); ptr++) {
 
                /* A semicolon means we've hit the end of the key, unless we're inside double quotes */
                if ( (double_quotes != 1) && (*ptr == ';')) {