diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2015-08-10 00:39:36 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2015-08-10 00:39:36 +0200 |
commit | 4bd6107db73131e1b48f1902833fd7c637c08bda (patch) | |
tree | 90994af2464d313ac15cfac609443d0fd4f22232 /src | |
parent | 755762fd4c420cabbcba4a9c79947e926fa82219 (diff) |
Really re-select() when interrupted.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/ip.c | 2 |
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; } |