diff --git a/lib/sendf.c b/lib/sendf.c index 631c3f2a2f8c8629e74022c2e63dfc7053e9e115..ddc61c6b3c837b205f90635284a712a976579260 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