comparison libpurple/protocols/yahoo/yahoo.c @ 19114:6de2e9ba0930

merge of '2970edca111b3535ae0703e3c866ad1c3b87df94' and 'a2b508e8680ac3f20965226a5dd83f7e2a3b15bb'
author Eric Polino <aluink@pidgin.im>
date Sun, 24 Jun 2007 02:56:09 +0000
parents 926ccb104da0
children 3f0204c58dfa 5c1ed6296b56
comparison
equal deleted inserted replaced
19102:7f26e5b98b15 19114:6de2e9ba0930
3859 if (acct_id) { 3859 if (acct_id) {
3860 acct = purple_accounts_find(acct_id, prpl); 3860 acct = purple_accounts_find(acct_id, prpl);
3861 if (acct && !purple_account_is_connected(acct)) 3861 if (acct && !purple_account_is_connected(acct))
3862 acct = NULL; 3862 acct = NULL;
3863 } else { /* Otherwise find an active account for the protocol */ 3863 } else { /* Otherwise find an active account for the protocol */
3864 const GList *l = purple_accounts_get_all(); 3864 GList *l = purple_accounts_get_all();
3865 while (l) { 3865 while (l) {
3866 if (!strcmp(prpl, purple_account_get_protocol_id(l->data)) 3866 if (!strcmp(prpl, purple_account_get_protocol_id(l->data))
3867 && purple_account_is_connected(l->data)) { 3867 && purple_account_is_connected(l->data)) {
3868 acct = l->data; 3868 acct = l->data;
3869 break; 3869 break;