aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-05 15:33:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-05 15:33:00 +0000
commitddbcccd43d3e2416bd710e7923b41c945bbcbe72 (patch)
tree5a6eb3e17a70adb16b53fac019be0ce64366f282
parent5370d7a6ebebecd8aff515d3b7528bf24d49b587 (diff)
Kevin Roth's discovered SSL download problem
-rw-r--r--lib/sendf.c2
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;