]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
restore previous addition to the amount of data that is returned
authorDaniel Stenberg <daniel@haxx.se>
Tue, 16 Jan 2007 21:28:45 +0000 (21:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 16 Jan 2007 21:28:45 +0000 (21:28 +0000)
lib/sendf.c

index 8886b83725cf593000357bbdf9b7c83eed98c468..9ec40adc6d0eb1200d8ec70b4364fc03ba2e11ea 100644 (file)
@@ -550,7 +550,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
       conn->read_pos = nread;
     }
 
-    *n = nread;
+    *n += nread;
   }
 
   return CURLE_OK;