diff options
| author | Paul Traina <pst@FreeBSD.org> | 1994-09-25 17:45:41 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1994-09-25 17:45:41 +0000 |
| commit | 8bdba3f880ac098e1c139d488c933afd211ab7e4 (patch) | |
| tree | 23a51ecf700a36c90ac92373ab53f2401150839b /lib/libc/net/getnetbydns.c | |
| parent | 13594380031be47bcdf494d9ba118f5b1024a08b (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/getnetbydns.c')
| -rw-r--r-- | lib/libc/net/getnetbydns.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c index 02e5088568a3..fbfb3c7371e8 100644 --- a/lib/libc/net/getnetbydns.c +++ b/lib/libc/net/getnetbydns.c @@ -53,7 +53,7 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93"; -static char rcsid[] = "$Id$"; +static char rcsid[] = "$Id: getnetbydns.c,v 1.1 1994/09/25 02:12:20 pst Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -253,10 +253,8 @@ _getnetbydnsaddr(net, net_type) } anslen = res_query(qbuf, C_IN, T_PTR, buf.buf, sizeof buf.buf); if (anslen < 0) { -#ifdef DEBUG if (_res.options & RES_DEBUG) printf("res_query failed\n"); -#endif return (NULL); } net_entry = getnetanswer(&buf, anslen, BYADDR); @@ -283,10 +281,8 @@ _getnetbydnsname(net) (void)strcpy(&qbuf[0],net); anslen = res_search(qbuf, C_IN, T_PTR, buf.buf, sizeof buf.buf); if (anslen < 0) { -#ifdef DEBUG if (_res.options & RES_DEBUG) printf("res_query failed\n"); -#endif return NULL; } return getnetanswer(&buf, anslen, BYNAME); |
