summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-04-01 16:09:45 +0000
committerume <ume@FreeBSD.org>2002-04-01 16:09:45 +0000
commit121ff2ebbefbd54cbf42c50d7a823fb02d82b681 (patch)
treeb13bb7fc827abf2ce3f3085fc372a930fe30a280 /lib/libc
parent7f6a8247095093ed06d5de62c42daafbba4bf5c4 (diff)
downloadFreeBSD-src-121ff2ebbefbd54cbf42c50d7a823fb02d82b681.zip
FreeBSD-src-121ff2ebbefbd54cbf42c50d7a823fb02d82b681.tar.gz
When _kevent() returns with errno = EINTR and timeout is not
exceeded, it should be falldown to next_ns. MFC after: 1 week
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/res_send.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/net/res_send.c b/lib/libc/net/res_send.c
index 72fa668..6accd3c 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) {
OpenPOWER on IntegriCloud