From: Michael Wallner Date: Sat, 4 Nov 2006 13:59:49 +0000 (+0000) Subject: - fix gcc-4.1 warning X-Git-Tag: RELEASE_1_4_0RC1~29 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=d92a99b21f8fd9a43a7ff0a379533bfeb82817a6 - fix gcc-4.1 warning --- diff --git a/http_headers_api.c b/http_headers_api.c index 4e65b1d..9fd3b75 100644 --- a/http_headers_api.c +++ b/http_headers_api.c @@ -358,7 +358,7 @@ PHP_HTTP_API STATUS _http_parse_headers_ex(const char *header, HashTable *header const char *key = header; /* skip leading ws */ - while (keylen && HTTP_IS_CTYPE(space, *key)) --keylen && ++key; + while (keylen && HTTP_IS_CTYPE(space, *key)) --keylen, ++key; /* skip trailing ws */ while (keylen && HTTP_IS_CTYPE(space, key[keylen - 1])) --keylen;