projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d3114e
)
better fix for the socket -1 case
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 18 Apr 2005 08:59:46 +0000
(08:59 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 18 Apr 2005 08:59:46 +0000
(08:59 +0000)
tests/server/sockfilt.c
patch
|
blob
|
history
diff --git
a/tests/server/sockfilt.c
b/tests/server/sockfilt.c
index
5cbf045
..
3244549
100644
(file)
--- 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);