From b6b2303cc25b4fdcd9088e7c0fd296c9b4e58149 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 8 Apr 2009 01:52:45 +0000 Subject: [PATCH] (_res_hconf_trim_domain): Revert last change. --- resolv/res_hconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c index a98dfda88a..ed55bec296 100644 --- a/resolv/res_hconf.c +++ b/resolv/res_hconf.c @@ -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; -- 2.11.4.GIT