summaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-04-07 10:07:29 +0200
committerKamil Dudka <kdudka@redhat.com>2010-04-07 10:47:19 +0200
commit10977f57de0d2426f479ef4d36f8a203488fdda7 (patch)
tree536506f3ba823c43931d681d3787aa6754704756 /lib/sendf.c
parentef1ac363ee5ece033b32653b5c00a915b68ab8ad (diff)
downloadcurl-10977f57de0d2426f479ef4d36f8a203488fdda7.tar.gz
qssl: reflect recent code changes in SSL interface
Reported by Guenter Knauf.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 90c527558..ff4aee30b 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -553,7 +553,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
}
if(conn->ssl[num].state == ssl_connection_complete) {
- int curlcode;
+ int curlcode = CURLE_RECV_ERROR;
nread = Curl_ssl_recv(conn, num, buffertofill, bytesfromsocket, &curlcode);
if(nread == -1)