aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-21 08:47:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-21 08:47:57 +0000
commit323332262203448cbe6558983e51c0ae25cd1602 (patch)
tree50a1be7731b9f2432e989d0d8dc8c1f4971610da
parente373f1fd739e653c71fbcb19669d5a021a39ec86 (diff)
increase the headerbytecount for incoming "headers"
-rw-r--r--lib/ftp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 088cfaa5e..a48286bd9 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -356,6 +356,8 @@ CURLcode Curl_GetFTPResponse(ssize_t *nreadp, /* return number of bytes read */
* line */
int i;
+ conn->headerbytecount += gotbytes;
+
*nreadp += gotbytes;
for(i = 0; i < gotbytes; ptr++, i++) {
perline++;