aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-18 22:41:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-18 22:41:52 +0000
commit535258ffe4cd770615828b1cda85bc094c9074fd (patch)
tree6b894a3a5ac850b3a6e4d24f8502e6ac8b3c9d66 /lib
parentcc161b96aca9c097baa82c274ff8b55cc3bd4066 (diff)
Philip Gladstone's size problem in add_buffer_send()
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
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