From c0257c672180586e7d8bd3125dee398d06f42d19 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 3 Jun 2002 12:47:08 +0000 Subject: [PATCH] T. Bharath made the request size add up as it is documented to do. --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }