changeset 30838:f86ebed1930a

Send buffer data when the message is not a xfer.
author masca@cpw.pidgin.im
date Thu, 01 Jul 2010 00:53:28 +0000
parents f13f06f1f515
children 7315ec8b71c7
files libpurple/protocols/msn/slplink.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Thu Jul 01 00:50:39 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Thu Jul 01 00:53:28 2010 +0000
@@ -308,7 +308,7 @@
 			if (len > MSN_SBCONN_MAX_SIZE)
 				len = MSN_SBCONN_MAX_SIZE;
 
-			msn_slpmsgpart_set_bin_data(part, slpmsg->slpcall->u.outgoing.data, len);
+			msn_slpmsgpart_set_bin_data(part, slpmsg->buffer + slpmsg->offset, len);
 		}
 
 		slpmsg->header->offset = slpmsg->offset;