changeset 24326:af8b35c7730d

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.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Wed, 12 Nov 2008 03:53:09 +0000
parents 95919d444308
children 38f4670c3daa
files libpurple/protocols/yahoo/yahoo_filexfer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_filexfer.c	Wed Nov 12 03:48:47 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo_filexfer.c	Wed Nov 12 03:53:09 2008 +0000
@@ -262,7 +262,7 @@
 
 	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);