soc.2010.msn-tlc: fa3ea592: Send buffer data when the message is not...

masca at cpw.pidgin.im masca at cpw.pidgin.im
Mon Jul 5 23:01:33 EDT 2010


----------------------------------------------------------------------
Revision: fa3ea59220635885f9825bef11acf95076f173cc
Parent:   0f24bdb27fe5418bd274716abb42e09de443ebcd
Author:   masca at cpw.pidgin.im
Date:     06/30/10 20:53:28
Branch:   im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/fa3ea59220635885f9825bef11acf95076f173cc

Changelog: 

Send buffer data when the message is not a xfer.

Changes against parent 0f24bdb27fe5418bd274716abb42e09de443ebcd

  patched  libpurple/protocols/msn/slplink.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c	34414d86ee47b66c206ec419080b7db2f50c4319
+++ libpurple/protocols/msn/slplink.c	a9a8463758c25cc4fb3f952c1f858fdc65dd8f3c
@@ -308,7 +308,7 @@ msn_slplink_send_msgpart(MsnSlpLink *slp
 			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;


More information about the Commits mailing list