Mercurial > pidgin
diff libgaim/protocols/yahoo/yahoo_picture.c @ 14446:1bee09450652
[gaim-migrate @ 17160]
This patch was mentioned by Mark on gaim-devel; Tim replied, "That sounds good. As long as they're both #define's I can easily change." which they are :)
Yahoo! Japan appears to not support - or at least not support in its current iteration -- the new Yahoo protocol version (0x000f), disconnecting us immediately if we send it. When connecting to Yahoo Japan, we now send the old version, (0x000c).
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Mon, 04 Sep 2006 21:58:49 +0000 |
parents | 01daacf7b771 |
children | 776615acf309 |
line wrap: on
line diff
--- a/libgaim/protocols/yahoo/yahoo_picture.c Mon Sep 04 08:19:17 2006 +0000 +++ b/libgaim/protocols/yahoo/yahoo_picture.c Mon Sep 04 21:58:49 2006 +0000 @@ -481,7 +481,7 @@ /* There's no magic here, we just need to prepend in reverse order */ g_string_prepend(d->str, "29\xc0\x80"); - pkt_buf_len = yahoo_packet_build(pkt, 8, FALSE, &pkt_buf); + pkt_buf_len = yahoo_packet_build(pkt, 8, FALSE, yd->jp, &pkt_buf); yahoo_packet_free(pkt); g_string_prepend_len(d->str, (char *)pkt_buf, pkt_buf_len); g_free(pkt_buf);