aboutsummaryrefslogtreecommitdiff
path: root/resolv/nss_dns
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-07 16:13:15 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-07 16:13:15 +0000
commitc6807d38a11d67d6fc8a49040ce29dfe84ffe4ed (patch)
tree6c3cf1fed42568bc51871a4ae644c6c7452d5565 /resolv/nss_dns
parent481f9ecae0fcab13f37d4809038cd5059ae6ad76 (diff)
downloadglibc-c6807d38a11d67d6fc8a49040ce29dfe84ffe4ed.zip
glibc-c6807d38a11d67d6fc8a49040ce29dfe84ffe4ed.tar.gz
glibc-c6807d38a11d67d6fc8a49040ce29dfe84ffe4ed.tar.bz2
* resolv/res_hconf.c (_res_hconf_trim_domain): Use strcasecmp
instead of __strcasecmp. * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
Diffstat (limited to 'resolv/nss_dns')
-rw-r--r--resolv/nss_dns/dns-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
index a9462ae..62e67e8 100644
--- a/resolv/nss_dns/dns-host.c
+++ b/resolv/nss_dns/dns-host.c
@@ -824,7 +824,7 @@ getanswer_r (const querybuf *answer, int anslen, const char *qname, int qtype,
switch (type)
{
case T_PTR:
- if (__builtin_expect (__strcasecmp (tname, bp) != 0, 0))
+ if (__builtin_expect (strcasecmp (tname, bp) != 0, 0))
{
syslog (LOG_NOTICE | LOG_AUTH, AskedForGot, qname, bp);
cp += n;