summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4865931)
raw | patch | inline | side by side (parent: 4865931)
author | octo <octo> | |
Sat, 4 Feb 2006 15:15:05 +0000 (15:15 +0000) | ||
committer | octo <octo> | |
Sat, 4 Feb 2006 15:15:05 +0000 (15:15 +0000) |
src/liboping/liboping.c | patch | blob | history |
index a6d2c5dbcab768b32ce11abc986d6ec64b2c31f9..83ab044b7b2fb8d53bfb35422245c5513262302b 100644 (file)
--- a/src/liboping/liboping.c
+++ b/src/liboping/liboping.c
status = select (max_readfds + 1, &readfds, NULL, NULL, &timeout);
- if (status == EINTR)
+ if ((status == -1) && (errno == EINTR))
{
dprintf ("select was interrupted by signal..\n");
- break; /* XXX */
continue;
}
else if (status < 0)