aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-03 12:47:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-03 12:47:08 +0000
commitc0257c672180586e7d8bd3125dee398d06f42d19 (patch)
treea8933c838ee8203e10aa2dbda124ab927d37979a /lib
parent9aec0fc7deaeb3c80ac61d6aeaf2dcc1d8e1e266 (diff)
T. Bharath made the request size add up as it is documented to do.
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 a4deeb14b..cc4ac8fe1 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -161,7 +161,7 @@ CURLcode add_buffer_send(int sockfd, struct connectdata *conn, send_buffer *in,
free(in->buffer);
free(in);
- *bytes_written = amount;
+ *bytes_written += amount;
return res;
}