soc.2010.msn-tlc: bfcfcbf9: Update tmp pointer after reading the hea...

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


----------------------------------------------------------------------
Revision: bfcfcbf9edc3efb4bcd4bfba7c119c0e17220aae
Parent:   25ba32808e4fe0cb2d185bc6ce6f78beef9f428a
Author:   masca at cpw.pidgin.im
Date:     07/03/10 02:55:33
Branch:   im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/bfcfcbf9edc3efb4bcd4bfba7c119c0e17220aae

Changelog: 

Update tmp pointer after reading the header.

Changes against parent 25ba32808e4fe0cb2d185bc6ce6f78beef9f428a

  patched  libpurple/protocols/msn/slpmsg_part.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpmsg_part.c	f122ea576693ee08af4b57119c90d95053b2be0f
+++ libpurple/protocols/msn/slpmsg_part.c	9aeaa13b19201456ffa7d3a2c65be828d229a8d3
@@ -36,6 +36,7 @@ MsnSlpMessagePart *msn_slpmsgpart_new_fr
 
 	/* Extract the binary SLP header */
 	part->header = msn_p2p_header_from_wire((MsnP2PHeader*)tmp);
+	tmp += P2P_PACKET_HEADER_SIZE;
 
 	/* Extract the body */
 	body_len = data_len - (tmp - data);


More information about the Commits mailing list