aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-17 12:53:53 +0000
committerYang Tse <yangsita@gmail.com>2008-10-17 12:53:53 +0000
commit4acbe8f20c45ed43768ff4d25ec6718c2f1dd6dd (patch)
tree655e4757c39d4e34901d3b918c2e21f71449a1bc /lib/transfer.c
parent2ea70a5c73561b4b0ecf033edb17d4db8317407e (diff)
fix compiler warning
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))