From ee264d619399bbc382442a69f6ac02dbb27667d2 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 8 Apr 1998 23:24:49 +0000 Subject: [PATCH] make comm_select() and comm_poll() use ignoreErrno() --- src/comm.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/comm.cc b/src/comm.cc index 81e018e4b2..e7eb8c5d1b 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,7 +1,7 @@ /* - * $Id: comm.cc,v 1.245 1998/04/08 17:22:12 wessels Exp $ + * $Id: comm.cc,v 1.246 1998/04/08 17:24:49 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -914,7 +914,7 @@ comm_poll(time_t sec) Counter.select_loops++; if (num >= 0) break; - if (errno == EINTR) + if (ignoreErrno(errno)) continue; debug(5, 0) ("comm_poll: poll failure: %s\n", xstrerror()); assert(errno != EINVAL); @@ -1062,7 +1062,7 @@ comm_select(time_t sec) Counter.select_loops++; if (num >= 0) break; - if (errno == EINTR) + if (ignoreErrno(errno)) break; debug(50, 0) ("comm_select: select failure: %s\n", xstrerror()); -- 2.47.3