From: Daniel Stenberg Date: Mon, 18 Feb 2002 22:41:52 +0000 (+0000) Subject: Philip Gladstone's size problem in add_buffer_send() X-Git-Tag: curl-7_9_5-pre2~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=535258ffe4cd770615828b1cda85bc094c9074fd;p=thirdparty%2Fcurl.git Philip Gladstone's size problem in add_buffer_send() --- diff --git a/lib/http.c b/lib/http.c index e0d3cda9bf..c4d44b47c5 100644 --- a/lib/http.c +++ b/lib/http.c @@ -151,7 +151,7 @@ CURLcode add_buffer_send(int sockfd, struct connectdata *conn, send_buffer *in, break; if(amount != size) { - size += amount; + size -= amount; ptr += amount; } else