diff options
-rw-r--r-- | lib/sendf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |