summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-08-10 00:39:36 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-08-10 00:39:36 +0200
commit4bd6107db73131e1b48f1902833fd7c637c08bda (patch)
tree90994af2464d313ac15cfac609443d0fd4f22232
parent755762fd4c420cabbcba4a9c79947e926fa82219 (diff)
Really re-select() when interrupted.
-rw-r--r--src/src/ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/ip.c b/src/src/ip.c
index ead7299bc..cb54f1617 100644
--- a/src/src/ip.c
+++ b/src/src/ip.c
@@ -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;
}