pidgin: b78d795d: Change two more uses of purple_utf8_strc...
markdoliner at pidgin.im
markdoliner at pidgin.im
Mon Feb 9 20:55:21 EST 2009
-----------------------------------------------------------------
Revision: b78d795d2e495fc1f0028d13de931a2a57f4b872
Ancestor: 56b164b2043c3890f5e81b3517f6f2ebd3061fb9
Author: markdoliner at pidgin.im
Date: 2009-02-10T01:51:07
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b78d795d2e495fc1f0028d13de931a2a57f4b872
Modified files:
libpurple/privacy.c
ChangeLog:
Change two more uses of purple_utf8_strcasecmp to g_str_equal
-------------- next part --------------
============================================================
--- libpurple/privacy.c 6047db826ce191f145eae3e688c53649dc6fdefa
+++ libpurple/privacy.c e4d3ba22f9cf024f45b94bbb526e975ad35bbcbb
@@ -357,7 +357,7 @@ purple_privacy_check(PurpleAccount *acco
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 @@ purple_privacy_check(PurpleAccount *acco
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;
More information about the Commits
mailing list