Mercurial > pidgin.yaz
changeset 7133:28dd20b5f4cf
[gaim-migrate @ 7700]
protocol numbers are dead. long live protocol ids!
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 03 Oct 2003 21:57:44 +0000 |
parents | d17a587efeb3 |
children | 67f9b43c402a |
files | src/blist.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blist.c Fri Oct 03 21:49:11 2003 +0000 +++ b/src/blist.c Fri Oct 03 21:57:44 2003 +0000 @@ -2246,9 +2246,9 @@ char *acct_name = g_markup_escape_text(buddy->account->username, -1); if(buddy->alias) bud_alias= g_markup_escape_text(buddy->alias, -1); - fprintf(file, "\t\t\t\t<buddy protocol=\"%d\" " + fprintf(file, "\t\t\t\t<buddy protocol=\"%s\" " "account=\"%s\">\n", - gaim_account_get_protocol(buddy->account), + gaim_account_get_protocol_id(buddy->account), acct_name); fprintf(file, "\t\t\t\t\t<name>%s</name>\n", bud_name); if(bud_alias) { @@ -2305,8 +2305,8 @@ GaimChat *chat = (GaimChat *)cnode; if(!exp_acct || chat->account == exp_acct) { char *acct_name = g_markup_escape_text(chat->account->username, -1); - fprintf(file, "\t\t\t<chat protocol=\"%d\" account=\"%s\">\n", - gaim_account_get_protocol(chat->account), + fprintf(file, "\t\t\t<chat protocol=\"%s\" account=\"%s\">\n", + gaim_account_get_protocol_id(chat->account), acct_name); if(chat->alias) { char *chat_alias = g_markup_escape_text(chat->alias, -1); @@ -2337,8 +2337,8 @@ GaimAccount *account = accounts->data; char *acct_name = g_markup_escape_text(account->username, -1); if(!exp_acct || account == exp_acct) { - fprintf(file, "\t\t<account protocol=\"%d\" name=\"%s\" " - "mode=\"%d\">\n", gaim_account_get_protocol(account), + fprintf(file, "\t\t<account protocol=\"%s\" name=\"%s\" " + "mode=\"%d\">\n", gaim_account_get_protocol_id(account), acct_name, account->perm_deny); for(buds = account->permit; buds; buds = buds->next) { char *bud_name = g_markup_escape_text(buds->data, -1);