From 323332262203448cbe6558983e51c0ae25cd1602 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 Apr 2004 08:47:57 +0000 Subject: [PATCH] increase the headerbytecount for incoming "headers" --- lib/ftp.c | 2 ++ 1 file changed, 2 insertions(+) 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++; -- GitLab