diff options
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 389ed6e16..79ecc02b8 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -697,7 +697,8 @@ CURLcode Curl_readwrite(struct connectdata *conn, /* Find the first non-space letter */ for(start=k->p+13; *start && isspace((int)*start); - start++); + start++) + ; /* empty loop */ end = strchr(start, '\r'); if(!end) @@ -705,7 +706,8 @@ CURLcode Curl_readwrite(struct connectdata *conn, if(end) { /* skip all trailing space letters */ - for(; isspace((int)*end) && (end > start); end--); + for(; isspace((int)*end) && (end > start); end--) + ; /* empty loop */ /* get length of the type */ len = end-start+1; @@ -796,7 +798,8 @@ CURLcode Curl_readwrite(struct connectdata *conn, /* Find the first non-space letter */ for(start=k->p+17; *start && isspace((int)*start); - start++); + start++) + ; /* empty loop */ /* Record the content-encoding for later use */ if (checkprefix("identity", start)) |