X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=src%2Fparser.c;h=6f5c4c8de904003b58e21c46e820dc5ce9ae6076;hb=7eb09d7e88eec3c6531d2837376369af06acb8cb;hp=0852e80dafe01d152f92e694f153b23470b4b514;hpb=0cb71268b17951d68ae97e12593afcd6b6aaabbb;p=smdp.git diff --git a/src/parser.c b/src/parser.c index 0852e80..6f5c4c8 100644 --- a/src/parser.c +++ b/src/parser.c @@ -392,14 +392,14 @@ int length_utf8(char ch) { int next_nonblank(cstring_t *text, int i) { while ((i < text->size) && isspace((unsigned char) (text->text)[i])) - ++i; + i++; return i; } int next_blank(cstring_t *text, int i) { while ((i < text->size) && !isspace((unsigned char) (text->text)[i])) - ++i; + i++; return i; }