mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
http: fix compiler warning
compiler warning: conditional expression is constant
This commit is contained in:
parent
d9e71809cb
commit
57064e4a0d
@ -3158,7 +3158,7 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
|
|||||||
/* Find the first non-space letter */
|
/* Find the first non-space letter */
|
||||||
start = k->p + 18;
|
start = k->p + 18;
|
||||||
|
|
||||||
do {
|
for(;;) {
|
||||||
/* skip whitespaces and commas */
|
/* skip whitespaces and commas */
|
||||||
while(*start && (ISSPACE(*start) || (*start == ',')))
|
while(*start && (ISSPACE(*start) || (*start == ',')))
|
||||||
start++;
|
start++;
|
||||||
@ -3204,7 +3204,7 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
|
|||||||
/* unknown! */
|
/* unknown! */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
} while(1);
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if(checkprefix("Content-Encoding:", k->p) &&
|
else if(checkprefix("Content-Encoding:", k->p) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user