# HG changeset patch # User Mark Doliner # Date 1234230667 0 # Node ID 0d7aac65ce60ff7a983449a758d06647dfa01a98 # Parent 8615b929e140ea3c82edd5a9d35fedd49414bae7 Change two more uses of purple_utf8_strcasecmp to g_str_equal diff -r 8615b929e140 -r 0d7aac65ce60 libpurple/privacy.c --- a/libpurple/privacy.c Tue Feb 10 01:44:40 2009 +0000 +++ b/libpurple/privacy.c Tue Feb 10 01:51:07 2009 +0000 @@ -357,7 +357,7 @@ case PURPLE_PRIVACY_ALLOW_USERS: who = purple_normalize(account, who); for (list=account->permit; list!=NULL; list=list->next) { - if (!purple_utf8_strcasecmp(who, (char *)list->data)) + if (g_str_equal(who, list->data)) return TRUE; } return FALSE; @@ -365,7 +365,7 @@ case PURPLE_PRIVACY_DENY_USERS: who = purple_normalize(account, who); for (list=account->deny; list!=NULL; list=list->next) { - if (!purple_utf8_strcasecmp(who, (char *)list->data )) + if (g_str_equal(who, list->data)) return FALSE; } return TRUE;