projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed VERY dumb typo in `liboping'
[collectd.git]
/
src
/
liboping
/
liboping.c
diff --git
a/src/liboping/liboping.c
b/src/liboping/liboping.c
index
a6d2c5d
..
83ab044
100644
(file)
--- a/
src/liboping/liboping.c
+++ b/
src/liboping/liboping.c
@@
-364,10
+364,9
@@
static int ping_receive_all (pinghost_t *ph)
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)