mirror of https://github.com/moparisthebest/curl
if select returns -1, bail out of the loop
This commit is contained in:
parent
c8d850dbad
commit
9d99af5329
|
@ -70,6 +70,8 @@ int main(int argc, char **argv)
|
|||
switch(rc) {
|
||||
case -1:
|
||||
/* select error */
|
||||
still_running = 0;
|
||||
printf("select() returns error, this is badness\n");
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue