Kevin Roth's discovered SSL download problem
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Feb 2002 15:33:00 +0000 (15:33 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Feb 2002 15:33:00 +0000 (15:33 +0000)
lib/sendf.c

index 9c1ed759ab1fa1684a181cfccad48be2c39e083c..1079067d728f1a629804ef01127d16fc3ba89bf2 100644 (file)
@@ -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;