pidgin: 9f6fc9df: Patch from 'siddish' to fix Yahoo! file ...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Tue Nov 11 23:00:37 EST 2008


-----------------------------------------------------------------
Revision: 9f6fc9dfce2fc8afe8d3a779884af3f0e934885d
Ancestor: aabe160c53915f716467a11dc15c40444e99ac6e
Author: rekkanoryo at pidgin.im
Date: 2008-11-12T03:53:09
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9f6fc9dfce2fc8afe8d3a779884af3f0e934885d

Modified files:
        libpurple/protocols/yahoo/yahoo_filexfer.c

ChangeLog: 

Patch from 'siddish' to fix Yahoo! file transfers with older (i.e. non-p15)
clients.  This shouldn't matter in practice now that both Yahoo! and Yahoo!
Japan are using YP15.  Fixes #6749.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_filexfer.c	95928ffcefe44c764f487d2a2a535f23c1c1c04d
+++ libpurple/protocols/yahoo/yahoo_filexfer.c	f38251930529c23fbb16ae9912ca58859058dfd6
@@ -262,7 +262,7 @@ static void yahoo_sendfile_connected(gpo
 
 	content_length = YAHOO_PACKET_HDRLEN + yahoo_packet_length(pkt);
 
-	pkt_buf_len = yahoo_packet_build(pkt, 8, FALSE, yd->jp, &pkt_buf);
+	pkt_buf_len = yahoo_packet_build(pkt, 4, FALSE, yd->jp, &pkt_buf);
 	yahoo_packet_free(pkt);
 
 	host = purple_account_get_string(account, "xfer_host", YAHOO_XFER_HOST);


More information about the Commits mailing list