increase the headerbytecount for incoming "headers"
authorDaniel Stenberg <daniel@haxx.se>
Wed, 21 Apr 2004 08:47:57 +0000 (08:47 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Apr 2004 08:47:57 +0000 (08:47 +0000)
lib/ftp.c

index 088cfaa..a48286b 100644 (file)
--- 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++;