projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4865931
)
Fixed VERY dumb typo in `liboping'
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
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)