From ddbcccd43d3e2416bd710e7923b41c945bbcbe72 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 5 Feb 2002 15:33:00 +0000 Subject: [PATCH] Kevin Roth's discovered SSL download problem --- lib/sendf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sendf.c b/lib/sendf.c index 9c1ed75..1079067 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; -- 2.7.4