summaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-16 23:28:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-16 23:28:58 +0000
commite177f145954e6918c0926b2e400892caaa7fae8f (patch)
tree82e4fe769ea685d6532223d529a184159933c4fe /lib/sendf.c
parent5c6eddcadd65432b8739117a161cb8062be997d9 (diff)
downloadcurl-e177f145954e6918c0926b2e400892caaa7fae8f.tar.gz
SSL writes passed back a silly length...
Diffstat (limited to 'lib/sendf.c')
-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