summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-03-12 11:10:54 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-03-12 11:10:54 +0000
commitbeb9f61579ce22ecd0cc8ef86b133df69c11cadd (patch)
tree9381e115bcb209031ccd86081b59ee6e4910394f /lib/libc/net
parent9547ea9f3a0786e8a1cef751ac9a590818378057 (diff)
Notes
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/res_send.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/net/res_send.c b/lib/libc/net/res_send.c
index 12373d560b7a..986dc5b865eb 100644
--- a/lib/libc/net/res_send.c
+++ b/lib/libc/net/res_send.c
@@ -56,7 +56,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
static char orig_rcsid[] = "From: Id: res_send.c,v 8.12 1996/10/08 04:51:06 vixie Exp";
-static char rcsid[] = "$Id: res_send.c,v 1.13 1997/02/22 15:00:35 peter Exp $";
+static char rcsid[] = "$Id: res_send.c,v 1.14 1997/03/10 19:32:46 guido Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -575,7 +575,11 @@ read_len:
timeout.tv_sec = 1;
timeout.tv_usec = 0;
if (s+1 > FD_SETSIZE) {
- Perror(stderr, "res_send: too many files");
+#ifdef DEBUG
+ if (_res.options & RES_DEBUG)
+ fprintf(stderr,
+ "res_send: too many files\n");
+#endif
res_close();
goto next_ns;
}