mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
fix compiler warning
This commit is contained in:
parent
2ea70a5c73
commit
4acbe8f20c
4 changed files with 19 additions and 15 deletions
|
|
@ -1255,10 +1255,9 @@ static CURLcode readwrite_headers(struct SessionHandle *data,
|
|||
char *start;
|
||||
|
||||
/* Find the first non-space letter */
|
||||
for(start=k->p+17;
|
||||
*start && ISSPACE(*start);
|
||||
start++)
|
||||
; /* empty loop */
|
||||
start = k->p + 17;
|
||||
while(*start && ISSPACE(*start))
|
||||
start++;
|
||||
|
||||
/* Record the content-encoding for later use */
|
||||
if(checkprefix("identity", start))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue