1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

* resolv/res_hconf.c (_res_hconf_trim_domain): Use strcasecmp

instead of __strcasecmp.
	* resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
This commit is contained in:
Ulrich Drepper
2009-04-07 16:13:15 +00:00
parent 481f9ecae0
commit c6807d38a1
3 changed files with 7 additions and 3 deletions

View File

@@ -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;