summaryrefslogtreecommitdiff
path: root/resolv/res_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/res_send.c')
-rw-r--r--resolv/res_send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 54f74d4d12..2366f59cd2 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -577,7 +577,9 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen,
}
#ifdef _LIBC
+# ifdef DEBUG
char tmpbuf[40];
+# endif
Dprint(statp->options & RES_DEBUG,
(stdout, ";; Querying server (# %d) address = %s\n",
ns + 1, inet_ntop(AF_INET6, &nsap->sin6_addr,