changeset 31278:df3e9c686b02

Update tmp pointer after reading the header.
author masca@cpw.pidgin.im
date Sat, 03 Jul 2010 06:55:33 +0000
parents 7315ec8b71c7
children 01dea46bbb42
files libpurple/protocols/msn/slpmsg_part.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg_part.c	Sat Jul 03 05:22:58 2010 +0000
+++ b/libpurple/protocols/msn/slpmsg_part.c	Sat Jul 03 06:55:33 2010 +0000
@@ -36,6 +36,7 @@
 
 	/* 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);