From: Stefan Esser Date: Fri, 7 Jun 2002 08:00:12 +0000 (+0000) Subject: - Stay always in buffer X-Git-Tag: php5_5_0~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5956656864d1f44280bcdbbb311529ad12e32f99;p=php - Stay always in buffer --- diff --git a/main/rfc1867.c b/main/rfc1867.c index 2f74e5b3af..549ffa4d76 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -413,7 +413,9 @@ static char *php_ap_getword(char **line, char stop) ++pos; } } - ++pos; + if (*pos) { + ++pos; + } } else ++pos; }