From 535258ffe4cd770615828b1cda85bc094c9074fd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Feb 2002 22:41:52 +0000 Subject: [PATCH] Philip Gladstone's size problem in add_buffer_send() --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.c b/lib/http.c index e0d3cda9b..c4d44b47c 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