comparison libpurple/protocols/msn/slpmsg_part.c @ 31278:df3e9c686b02

Update tmp pointer after reading the header.
author masca@cpw.pidgin.im
date Sat, 03 Jul 2010 06:55:33 +0000
parents a743c25b27a8
children 98cd0ea847ec
comparison
equal deleted inserted replaced
31277:7315ec8b71c7 31278:df3e9c686b02
34 return NULL; 34 return NULL;
35 } 35 }
36 36
37 /* Extract the binary SLP header */ 37 /* Extract the binary SLP header */
38 part->header = msn_p2p_header_from_wire((MsnP2PHeader*)tmp); 38 part->header = msn_p2p_header_from_wire((MsnP2PHeader*)tmp);
39 tmp += P2P_PACKET_HEADER_SIZE;
39 40
40 /* Extract the body */ 41 /* Extract the body */
41 body_len = data_len - (tmp - data); 42 body_len = data_len - (tmp - data);
42 /* msg->body_len = msg->msnslp_header.length; */ 43 /* msg->body_len = msg->msnslp_header.length; */
43 44