fix compiler warning

This commit is contained in:
Yang Tse 2008-10-17 12:53:53 +00:00
parent 2ea70a5c73
commit 4acbe8f20c
4 changed files with 19 additions and 15 deletions

View file

@ -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))