comparison libpurple/protocols/oscar/oscar.c @ 18063:926ccb104da0

disapproval of revision '1411afd7660760db59966c3a9f18e2adab8eb27e'
author Richard Laager <rlaager@wiktel.com>
date Sat, 16 Jun 2007 19:00:35 +0000
parents 4ca97b26a8fb
children 873ee0038752
comparison
equal deleted inserted replaced
18058:4ca97b26a8fb 18063:926ccb104da0
6491 if (acct_id) { 6491 if (acct_id) {
6492 acct = purple_accounts_find(acct_id, prpl); 6492 acct = purple_accounts_find(acct_id, prpl);
6493 if (acct && !purple_account_is_connected(acct)) 6493 if (acct && !purple_account_is_connected(acct))
6494 acct = NULL; 6494 acct = NULL;
6495 } else { /* Otherwise find an active account for the protocol */ 6495 } else { /* Otherwise find an active account for the protocol */
6496 const GList *l = purple_accounts_get_all(); 6496 GList *l = purple_accounts_get_all();
6497 while (l) { 6497 while (l) {
6498 if (!strcmp(prpl, purple_account_get_protocol_id(l->data)) 6498 if (!strcmp(prpl, purple_account_get_protocol_id(l->data))
6499 && purple_account_is_connected(l->data)) { 6499 && purple_account_is_connected(l->data)) {
6500 acct = l->data; 6500 acct = l->data;
6501 break; 6501 break;