http: fix compiler warning

compiler warning: conditional expression is constant
This commit is contained in:
Yang Tse 2011-06-21 16:28:15 +02:00
parent d9e71809cb
commit 57064e4a0d
1 changed files with 2 additions and 2 deletions

View File

@ -3158,7 +3158,7 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
/* Find the first non-space letter */
start = k->p + 18;
do {
for(;;) {
/* skip whitespaces and commas */
while(*start && (ISSPACE(*start) || (*start == ',')))
start++;
@ -3204,7 +3204,7 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
/* unknown! */
break;
} while(1);
}
}
else if(checkprefix("Content-Encoding:", k->p) &&