From 1886388791fc658b55cdd45b3062556fde7a1375 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 16 Jan 2007 21:28:45 +0000 Subject: restore previous addition to the amount of data that is returned --- lib/sendf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sendf.c b/lib/sendf.c index 8886b8372..9ec40adc6 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -550,7 +550,7 @@ int Curl_read(struct connectdata *conn, /* connection data */ conn->read_pos = nread; } - *n = nread; + *n += nread; } return CURLE_OK; -- cgit v1.2.3