]> granicus.if.org Git - curl/commitdiff
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 088cfaa5e75f6f38dc9896cb5efda23865aa52ef..a48286bd9277a85e085fc3ce20a0766635bb1f93 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++;