aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index f15d9a0f2..fe0cded50 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -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))