comparison libgaim/protocols/yahoo/yahoo_filexfer.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 60b1bc8dbf37
children 118fd0dc5b6e
comparison
equal deleted inserted replaced
14445:b1a6effcb37a 14446:1bee09450652
210 g_free(encoded_filename); 210 g_free(encoded_filename);
211 g_free(filename); 211 g_free(filename);
212 212
213 content_length = YAHOO_PACKET_HDRLEN + yahoo_packet_length(pkt); 213 content_length = YAHOO_PACKET_HDRLEN + yahoo_packet_length(pkt);
214 214
215 pkt_buf_len = yahoo_packet_build(pkt, 8, FALSE, &pkt_buf); 215 pkt_buf_len = yahoo_packet_build(pkt, 8, FALSE, yd->jp, &pkt_buf);
216 yahoo_packet_free(pkt); 216 yahoo_packet_free(pkt);
217 217
218 host = gaim_account_get_string(account, "xfer_host", YAHOO_XFER_HOST); 218 host = gaim_account_get_string(account, "xfer_host", YAHOO_XFER_HOST);
219 port = gaim_account_get_int(account, "xfer_port", YAHOO_XFER_PORT); 219 port = gaim_account_get_int(account, "xfer_port", YAHOO_XFER_PORT);
220 header = g_strdup_printf( 220 header = g_strdup_printf(