Mercurial > pidgin
comparison src/protocols/yahoo/yahoo.c @ 10379:cf7b1970039e
[gaim-migrate @ 11604]
So I don't forget...
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Wed, 15 Dec 2004 05:02:31 +0000 |
parents | 35068a87b59d |
children | 232808c6d6ab |
comparison
equal
deleted
inserted
replaced
10378:28135f8c226d | 10379:cf7b1970039e |
---|---|
3086 | 3086 |
3087 g_snprintf(buf, sizeof(buf), "%d", yd->current_status); | 3087 g_snprintf(buf, sizeof(buf), "%d", yd->current_status); |
3088 yahoo_packet_hash(pkt, 10, buf); | 3088 yahoo_packet_hash(pkt, 10, buf); |
3089 if (yd->current_status == YAHOO_STATUS_CUSTOM) { | 3089 if (yd->current_status == YAHOO_STATUS_CUSTOM) { |
3090 GaimStatus *status = gaim_presence_get_active_status(gaim_account_get_presence(gaim_connection_get_account(gc))); | 3090 GaimStatus *status = gaim_presence_get_active_status(gaim_account_get_presence(gaim_connection_get_account(gc))); |
3091 msg = yahoo_string_encode(gc, gaim_status_get_attr_string(status, "message"), NULL); | 3091 msg = yahoo_string_encode(gc, gaim_status_get_attr_string(status, "message"), NULL); //this line crashes, fix it |
3092 msg2 = gaim_unescape_html(msg); | 3092 msg2 = gaim_unescape_html(msg); |
3093 yahoo_packet_hash(pkt, 19, msg2); | 3093 yahoo_packet_hash(pkt, 19, msg2); |
3094 } else { | 3094 } else { |
3095 yahoo_packet_hash(pkt, 19, ""); | 3095 yahoo_packet_hash(pkt, 19, ""); |
3096 } | 3096 } |