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/res_hconf.c | |
parent | 481f9ecae0fcab13f37d4809038cd5059ae6ad76 (diff) | |
download | glibc-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/res_hconf.c')
-rw-r--r-- | resolv/res_hconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c index 25f7397..a98dfda 100644 --- a/resolv/res_hconf.c +++ b/resolv/res_hconf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995-2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995-2006, 2007, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger (davidm@azstarnet.com). @@ -518,7 +518,7 @@ _res_hconf_trim_domain (char *hostname) trim_len = strlen (trim); if (hostname_len > trim_len - && __strcasecmp (&hostname[hostname_len - trim_len], trim) == 0) + && strcasecmp (&hostname[hostname_len - trim_len], trim) == 0) { hostname[hostname_len - trim_len] = '\0'; break; |