diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-02-18 22:41:52 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-02-18 22:41:52 +0000 |
commit | 535258ffe4cd770615828b1cda85bc094c9074fd (patch) | |
tree | 6b894a3a5ac850b3a6e4d24f8502e6ac8b3c9d66 /lib | |
parent | cc161b96aca9c097baa82c274ff8b55cc3bd4066 (diff) |
Philip Gladstone's size problem in add_buffer_send()
Diffstat (limited to 'lib')
-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 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 |