diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index 5cbf045e7305e1b9b38b37d47e9b10175382d304..3244549c8d1c8afc9b84bec852024e9e7c09f4e0 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -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);