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

if select returns -1, bail out of the loop

parent c8d850db
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
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