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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=323332262203448cbe6558983e51c0ae25cd1602;p=curl increase the headerbytecount for incoming "headers" --- 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++;