aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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++;