From 4c8b8cc332a4581f7d1627c80030abb922940bfe Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 8 Apr 2009 18:00:34 +0000 Subject: * malloc/malloc.c (_int_realloc): Add parameter with old block size. Remove duplicated test. Don't handle mmap'ed blocks here. Adjust all callers. * malloc/hooks.c (realloc_check): Adjust _int_realloc call. --- resolv/res_hconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resolv/res_hconf.c') diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c index a98dfda..ed55bec 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; -- cgit v1.1