diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-02-05 15:33:00 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-02-05 15:33:00 +0000 |
commit | ddbcccd43d3e2416bd710e7923b41c945bbcbe72 (patch) | |
tree | 5a6eb3e17a70adb16b53fac019be0ce64366f282 /lib/sendf.c | |
parent | 5370d7a6ebebecd8aff515d3b7528bf24d49b587 (diff) | |
download | curl-ddbcccd43d3e2416bd710e7923b41c945bbcbe72.tar.gz |
Kevin Roth's discovered SSL download problem
Diffstat (limited to 'lib/sendf.c')
-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 9c1ed759a..1079067d7 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -310,7 +310,7 @@ int Curl_read(struct connectdata *conn, do { nread = SSL_read(conn->ssl.handle, buf, buffersize); - if(nread > 0) + if(nread >= 0) /* successful read */ break; |