T. Bharath made the request size add up as it is documented to do.
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jun 2002 12:47:08 +0000 (12:47 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jun 2002 12:47:08 +0000 (12:47 +0000)
lib/http.c

index a4deeb14bab455eef051d0567677cf21927a1466..cc4ac8fe1eade93d4b5cd6477322dbdcabdf0327 100644 (file)
@@ -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;
 }