From 3d246faa5aa7af7c811cb60ba0e86f55da02e00c Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Mon, 1 Apr 2002 16:09:45 +0000 Subject: When _kevent() returns with errno = EINTR and timeout is not exceeded, it should be falldown to next_ns. MFC after: 1 week --- lib/libc/net/res_send.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/net/res_send.c b/lib/libc/net/res_send.c index 72fa668e01b5..6accd3c8bd4e 100644 --- a/lib/libc/net/res_send.c +++ b/lib/libc/net/res_send.c @@ -739,11 +739,10 @@ read_len: TIMEVAL_TO_TIMESPEC(&ctv, &ts); goto wait; } - } else { - Perror(stderr, "kevent", errno); - res_close(); - goto next_ns; } + Perror(stderr, "kevent", errno); + res_close(); + goto next_ns; } if (n == 0) { -- cgit v1.2.3