comparison src/util.c @ 5580:86456ec3ca25

[gaim-migrate @ 5984] More nifty stuff! Accounts now get converted, and other niceties. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 31 May 2003 02:27:03 +0000
parents 9eb5b13fd412
children dae79aefac8d
comparison
equal deleted inserted replaced
5579:e0146fcc4718 5580:86456ec3ca25
569 } 569 }
570 570
571 GaimAccount *gaim_account_find(const char *name, int protocol) 571 GaimAccount *gaim_account_find(const char *name, int protocol)
572 { 572 {
573 char *who = g_strdup(normalize(name)); 573 char *who = g_strdup(normalize(name));
574 GSList *accts = gaim_accounts; 574 GList *accts = gaim_accounts_get_all();
575 GaimAccount *account; 575 GaimAccount *account;
576 576
577 while (accts) { 577 while (accts) {
578 account = (GaimAccount *)accts->data; 578 account = (GaimAccount *)accts->data;
579 if (!strcmp(normalize(account->username), who)) { 579 if (!strcmp(normalize(account->username), who)) {