diff options
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index e727ed823..8353dc40c 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1212,7 +1212,7 @@ CURLcode Curl_add_buffer_send(Curl_send_buffer *in, if(http) { /* if we sent a piece of the body here, up the byte counter for it accordingly */ - http->writebytecount += bodylen; + http->writebytecount += amount; if((size_t)amount != size) { /* The whole request could not be sent in one system call. We must |