diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-18 08:59:46 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-18 08:59:46 +0000 |
commit | 4382204e1babec76dfbb4de8205fdcd2c925a396 (patch) | |
tree | fff198d7912dcc21e7438d3030c947abe0fc5536 /tests/server | |
parent | 6d3114efe28b801822f1c6940df012c40e5a8ec4 (diff) |
better fix for the socket -1 case
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/sockfilt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index 5cbf045e7..3244549c8 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); |