From 2ef157e08bc4f8796223d179868a562648a5dbdd Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 28 Apr 2011 23:18:46 +0200 Subject: Fix typo in comment. --- socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket.c b/socket.c index fad21c50..6eadeef2 100644 --- a/socket.c +++ b/socket.c @@ -452,7 +452,7 @@ int SockRead(int sock, char *buf, int len) /* OK... SSL_peek works a little different from MSG_PEEK Problem is that SSL_peek can return 0 if there is no data currently available. If, on the other - hand, we loose the socket, we also get a zero, but + hand, we lose the socket, we also get a zero, but the SSL_read then SEGFAULTS! To deal with this, we'll check the error code any time we get a return of zero from SSL_peek. If we have an error, we bail. -- cgit v1.2.3