From c73ebd9aa108d55a09c7eebbf9a81e3453fa0c3b Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 26 Apr 2001 13:36:33 +0000 Subject: Add ascii_strcasecmp() and ascii_strncasecmp() functions which do locale-independent and case-insensitive string comparisons. Needed for mutt to work in iso-8859-9 environments, where tolower('I') != 'i'. --- account.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'account.c') diff --git a/account.c b/account.c index fc29e86f..5a7fe790 100644 --- a/account.c +++ b/account.c @@ -29,7 +29,7 @@ int mutt_account_match (const ACCOUNT* a1, const ACCOUNT* a2) if (a1->type != a2->type) return 0; - if (mutt_strcasecmp (a1->host, a2->host)) + if (ascii_strcasecmp (a1->host, a2->host)) return 0; if (a1->port != a2->port) return 0; -- cgit v1.2.3