summaryrefslogtreecommitdiff
path: root/lib/http_chunks.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-06-10 21:26:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-06-10 21:26:11 +0000
commit352177090f710fd155d22a79d11f621482c09640 (patch)
tree1c9fea76d87460c04bd7946db2f84534bb8c1f11 /lib/http_chunks.c
parent9d18c0b15658adcdb6743107be0db4745d2b8073 (diff)
downloadcurl-352177090f710fd155d22a79d11f621482c09640.tar.gz
- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
contributed a range of patches to fix them.
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r--lib/http_chunks.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index 13ef3cff6..ee35d6603 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -345,7 +345,6 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
conn->trailer[conn->trlPos]=0;
if(conn->trlPos==2) {
ch->state = CHUNK_STOP;
- datap++;
length--;
/*
@@ -400,7 +399,6 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
case CHUNK_STOP:
if(*datap == 0x0a) {
- datap++;
length--;
/* Record the length of any data left in the end of the buffer