Mercurial > pidgin.yaz
diff libpurple/protocols/yahoo/yahoo_doodle.c @ 32767:2ec94166be43
On the way to hiding the PurpleConnection struct.
* Added purple_connection_get_flags() and purple_connection_set_flags()
* Use purple_connection_ accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 18 Oct 2011 18:47:48 +0000 |
parents | 39d69f5bf146 |
children |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_doodle.c Tue Oct 18 04:47:58 2011 +0000 +++ b/libpurple/protocols/yahoo/yahoo_doodle.c Tue Oct 18 18:47:48 2011 +0000 @@ -394,7 +394,7 @@ /* Make and send an acknowledge (ready) Doodle packet */ pkt = yahoo_packet_new(YAHOO_SERVICE_P2PFILEXFER, YAHOO_STATUS_AVAILABLE, yd->session_id); yahoo_packet_hash_str(pkt, 49, "IMVIRONMENT"); - yahoo_packet_hash_str(pkt, 1, purple_account_get_username(gc->account)); + yahoo_packet_hash_str(pkt, 1, purple_account_get_username(purple_connection_get_account(gc))); yahoo_packet_hash_str(pkt, 14, message); yahoo_packet_hash_int(pkt, 13, command); yahoo_packet_hash_str(pkt, 5, to);