Skip to content
Snippets Groups Projects
Commit 4382204e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

better fix for the socket -1 case

parent 6d3114ef
No related branches found
No related tags found
No related merge requests found
......@@ -291,7 +291,7 @@ static int juggle(curl_socket_t *sockfdp,
if(-1 == sockfd) {
/* eeek, we are supposedly connected and then this cannot be -1 ! */
logmsg("socket is -1! on %s:%d", __FILE__, __LINE__);
return FALSE;
maxfd = 0; /* stdin */
}
else {
logmsg("waiting for data from client on socket %d", (int)sockfd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment