aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sendf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 631c3f2a2..ddc61c6b3 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -212,6 +212,7 @@ CURLcode Curl_write(struct connectdata *conn, int sockfd,
failf(conn->data, "SSL_write() return error %d\n", err);
return CURLE_WRITE_ERROR;
}
+ bytes_written = rc;
}
else {
#endif