From: Daniel Stenberg Date: Wed, 21 Apr 2004 08:47:57 +0000 (+0000) Subject: increase the headerbytecount for incoming "headers" X-Git-Tag: curl-7_11_2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323332262203448cbe6558983e51c0ae25cd1602;p=thirdparty%2Fcurl.git increase the headerbytecount for incoming "headers" --- diff --git a/lib/ftp.c b/lib/ftp.c index 088cfaa5e7..a48286bd92 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++;