Mercurial > pidgin
diff src/protocols/msn/msn.c @ 7322:ab828b8c3f22
[gaim-migrate @ 7908]
all sorts of stuff including tweaks to logging so it mostly works again
for jabber.
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Fri, 24 Oct 2003 05:46:01 +0000 |
| parents | ff9127038a5a |
| children | 603a58cd23dc |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Thu Oct 23 21:56:16 2003 +0000 +++ b/src/protocols/msn/msn.c Fri Oct 24 05:46:01 2003 +0000 @@ -36,7 +36,7 @@ static GaimPlugin *my_protocol = NULL; -static const char *msn_normalize(const char *str); +static const char *msn_normalize(const GaimAccount *account, const char *str); typedef struct { @@ -481,7 +481,7 @@ gaim_connection_update_progress(gc, _("Connecting"), 0, MSN_CONNECT_STEPS); /* Hmm, I don't like this. */ - username = msn_normalize(gaim_account_get_username(account)); + username = msn_normalize(account, gaim_account_get_username(account)); if (strcmp(username, gaim_account_get_username(account))) gaim_account_set_username(account, username); @@ -674,7 +674,7 @@ char outparams[MSN_BUF_LEN]; GSList *l; - who = msn_normalize(name); + who = msn_normalize(gc->account, name); if (strchr(who, ' ')) { /* This is a broken blist entry. */ @@ -1207,7 +1207,7 @@ } static const char * -msn_normalize(const char *str) +msn_normalize(const GaimAccount *account, const char *str) { static char buf[BUF_LEN];
