aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-30 21:49:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-30 21:49:29 +0000
commit907a6e0eed3c6f1a7350cd5f866ccb3a7d0a8ee4 (patch)
treecb89d3faa9f9b62d7c2e3598184ba42f03eebfae
parentd20186a7b8f8dc5f50ad0920ff07038a82eaf303 (diff)
Georg Horn the previous SSL_read() fix, this was actually the fix I did
on my test machine! :-)
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 7c4c72831..9c1ed759a 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -326,7 +326,7 @@ int Curl_read(struct connectdata *conn,
/* if there's data pending, then we re-invoke SSL_read() */
break;
}
- } while(1);
+ } while(loop);
if(loop && SSL_pending(conn->ssl.handle))
return -1; /* basicly EWOULDBLOCK */
}