diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-04-07 16:13:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-04-07 16:13:15 +0000 |
commit | c6807d38a11d67d6fc8a49040ce29dfe84ffe4ed (patch) | |
tree | 6c3cf1fed42568bc51871a4ae644c6c7452d5565 /resolv/nss_dns | |
parent | 481f9ecae0fcab13f37d4809038cd5059ae6ad76 (diff) | |
download | glibc-c6807d38a11d67d6fc8a49040ce29dfe84ffe4ed.tar glibc-c6807d38a11d67d6fc8a49040ce29dfe84ffe4ed.tar.gz glibc-c6807d38a11d67d6fc8a49040ce29dfe84ffe4ed.tar.bz2 glibc-c6807d38a11d67d6fc8a49040ce29dfe84ffe4ed.zip |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c index a9462ae97a..62e67e8b01 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; |