From 21d5ecaf8c13c5af21b93aa14c0ba3cac734cbdb Mon Sep 17 00:00:00 2001 From: octo Date: Sat, 4 Feb 2006 15:15:05 +0000 Subject: [PATCH] Fixed VERY dumb typo in `liboping' --- src/liboping/liboping.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/liboping/liboping.c b/src/liboping/liboping.c index a6d2c5db..83ab044b 100644 --- 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) -- 2.30.2