aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_debug.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-07 13:05:19 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-07 13:05:19 -0400
commitf87dfb1f11c01f2ccdc40d81e134cd06b32e28e8 (patch)
treea3576051b3e8e833c4035478d4f1ac1f946f3f29 /resolv/res_debug.c
parent47c3cd7a74e8c089d60d603afce6d9cf661178d6 (diff)
downloadglibc-f87dfb1f11c01f2ccdc40d81e134cd06b32e28e8.tar
glibc-f87dfb1f11c01f2ccdc40d81e134cd06b32e28e8.tar.gz
glibc-f87dfb1f11c01f2ccdc40d81e134cd06b32e28e8.tar.bz2
glibc-f87dfb1f11c01f2ccdc40d81e134cd06b32e28e8.zip
Backport BIND code to query name as TLD.
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r--resolv/res_debug.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c
index f7996a71da..3daa44e273 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);