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 ead7299bcc7caa6a2804712753f4f6ec0a5c0325..cb54f1617b95cd4b66797efdc5ba1dbbe0731503 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;
 }