Really re-select() when interrupted.
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Sun, 9 Aug 2015 22:39:36 +0000 (00:39 +0200)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Sun, 9 Aug 2015 22:39:36 +0000 (00:39 +0200)
src/src/ip.c

index ead7299..cb54f16 100644 (file)
@@ -499,7 +499,7 @@ do
 
   /* If the socket is ready, break out of the loop. */
   }
-while (!FD_ISSET(fd, &select_inset));
+while (rc < 0 || !FD_ISSET(fd, &select_inset));
 return TRUE;
 }