Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 7261:1930e3d00ecd
[gaim-migrate @ 7838]
prpl-specific normalize is back, after my crusade to kill it.
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Tue, 14 Oct 2003 05:07:39 +0000 |
| parents | 43b76be7796a |
| children | 53c86d59f20b |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Tue Oct 14 04:44:43 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Oct 14 05:07:39 2003 +0000 @@ -859,7 +859,7 @@ { struct yahoo_packet *pack; GaimAccount *account = gaim_connection_get_account(gc); - const char *name = gaim_normalize(gaim_account_get_username(account)); + const char *name = gaim_normalize(account, gaim_account_get_username(account)); const char *pass = gaim_account_get_password(account); struct yahoo_data *yd = gc->proto_data; @@ -977,7 +977,7 @@ { struct yahoo_packet *pack = NULL; GaimAccount *account = gaim_connection_get_account(gc); - const char *name = gaim_normalize(gaim_account_get_username(account)); + const char *name = gaim_normalize(account, gaim_account_get_username(account)); const char *pass = gaim_account_get_password(account); struct yahoo_data *yd = gc->proto_data; @@ -1721,7 +1721,7 @@ pkt = yahoo_packet_new(YAHOO_SERVICE_AUTH, YAHOO_STATUS_AVAILABLE, 0); - yahoo_packet_hash(pkt, 1, gaim_normalize(gaim_account_get_username(gaim_connection_get_account(gc)))); + yahoo_packet_hash(pkt, 1, gaim_normalize(gc->account, gaim_account_get_username(gaim_connection_get_account(gc)))); yahoo_send_packet(yd, pkt); yahoo_packet_free(pkt); @@ -1752,8 +1752,8 @@ pkt = yahoo_packet_new(YAHOO_SERVICE_WEBLOGIN, YAHOO_STATUS_WEBLOGIN, 0); - yahoo_packet_hash(pkt, 0, gaim_normalize(gaim_account_get_username(gaim_connection_get_account(gc)))); - yahoo_packet_hash(pkt, 1, gaim_normalize(gaim_account_get_username(gaim_connection_get_account(gc)))); + yahoo_packet_hash(pkt, 0, gaim_normalize(gc->account, gaim_account_get_username(gaim_connection_get_account(gc)))); + yahoo_packet_hash(pkt, 1, gaim_normalize(gc->account, gaim_account_get_username(gaim_connection_get_account(gc)))); yahoo_packet_hash(pkt, 6, yd->auth); yahoo_send_packet(yd, pkt);
