Mercurial > pidgin
diff libpurple/protocols/msn/msg.c @ 30858:2d00d29a45fd
Process SlpMessageParts, a sequence of parts will generate a SlpMessage.
author | masca@cpw.pidgin.im |
---|---|
date | Thu, 29 Jul 2010 00:12:54 +0000 |
parents | 7edcf92b1537 |
children | 8c9b6b7376b5 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c Wed Jul 28 20:35:28 2010 +0000 +++ b/libpurple/protocols/msn/msg.c Thu Jul 29 00:12:54 2010 +0000 @@ -943,10 +943,7 @@ data = msn_message_get_bin_data(msg, &len); if (msg->part) { - len -= P2P_PACKET_HEADER_SIZE; - len -= P2P_PACKET_FOOTER_SIZE; - - msn_slplink_process_msg(slplink, msg->part->header, data+P2P_PACKET_HEADER_SIZE, len); + msn_slplink_process_msg(slplink, msg->part); } else /* This should never happen. */ purple_debug_fatal("msn", "P2P message without a Part.\n");