summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2002-04-11 17:30:24 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2002-04-11 17:30:24 +0000
commit57af65d50276e4c561c30b90010c090cf018eb7a (patch)
tree68778da26eff25bfe59701b10b85d66ddb81a077 /lib
parentff21af1f24305a76c9ae5aff7c3097aadd926778 (diff)
Notes
Diffstat (limited to 'lib')
-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 d83f08557894..4247648e4a81 100644
--- a/lib/libc/net/res_send.c
+++ b/lib/libc/net/res_send.c
@@ -736,11 +736,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) {