From f87dfb1f11c01f2ccdc40d81e134cd06b32e28e8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 7 May 2011 13:05:19 -0400 Subject: Backport BIND code to query name as TLD. --- resolv/res_debug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'resolv/res_debug.c') diff --git a/resolv/res_debug.c b/resolv/res_debug.c index f7996a7..3daa44e 100644 --- a/resolv/res_debug.c +++ b/resolv/res_debug.c @@ -189,7 +189,7 @@ do_section(const res_state statp, buf = malloc(buflen += 1024); if (buf == NULL) { fprintf(file, - ";; memory allocation failure\n"); + ";; memory allocation failure\n"); return; } continue; @@ -356,7 +356,7 @@ const struct res_sym __p_class_syms[] = { {C_HS, "HESIOD"}, {C_ANY, "ANY"}, {C_NONE, "NONE"}, - {C_IN, (char *)0} + {C_IN, (char *)0} }; libresolv_hidden_data_def (__p_class_syms) @@ -588,6 +588,7 @@ p_option(u_long option) { case RES_USEBSTRING: return "ip6-bytstring"; case RES_USE_EDNS0: return "edns0"; case RES_USE_DNSSEC: return "dnssec"; + case RES_NOTLDQUERY: return "no-tld-query"; /* XXX nonreentrant */ default: sprintf(nbuf, "?0x%lx?", (u_long)option); return (nbuf); -- cgit v1.1