Mercurial > pidgin
comparison libpurple/log.c @ 32672:3828a61c44da
A boring and large patch so I can merge heads.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 23 Dec 2011 08:21:58 +0000 |
parents | de1a7814023f |
children |
comparison
equal
deleted
inserted
replaced
32671:0e69949b3e61 | 32672:3828a61c44da |
---|---|
1101 } | 1101 } |
1102 | 1102 |
1103 /* Find the account for username in the list of accounts for protocol. */ | 1103 /* Find the account for username in the list of accounts for protocol. */ |
1104 username_unescaped = purple_unescape_filename(username); | 1104 username_unescaped = purple_unescape_filename(username); |
1105 for (account_iter = g_list_first(accounts) ; account_iter != NULL ; account_iter = account_iter->next) { | 1105 for (account_iter = g_list_first(accounts) ; account_iter != NULL ; account_iter = account_iter->next) { |
1106 if (purple_strequal(((PurpleAccount *)account_iter->data)->username, username_unescaped)) { | 1106 if (purple_strequal(purple_account_get_username((PurpleAccount *)account_iter->data), username_unescaped)) { |
1107 account = account_iter->data; | 1107 account = account_iter->data; |
1108 break; | 1108 break; |
1109 } | 1109 } |
1110 } | 1110 } |
1111 | 1111 |