soc.2010.msn-tlc: 88073634: Add DC packet lenght when creating the S...
masca at cpw.pidgin.im
masca at cpw.pidgin.im
Wed Aug 4 07:39:18 EDT 2010
----------------------------------------------------------------------
Revision: 880736343f33bfdf6c756c8802d0b9e7e2911575
Parent: 6a647441e1cdfd29518ba5113546591e58850e7a
Author: masca at cpw.pidgin.im
Date: 07/30/10 14:21:59
Branch: im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/880736343f33bfdf6c756c8802d0b9e7e2911575
Changelog:
Add DC packet lenght when creating the SlpPart.
Changes against parent 6a647441e1cdfd29518ba5113546591e58850e7a
patched libpurple/protocols/msn/directconn.c
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/directconn.c fc2fc4d86cad14c498cd114bb204dc4e6243bb91
+++ libpurple/protocols/msn/directconn.c e70ada586d29a3c2a8dcac55b00a2f77adff6a25
@@ -630,7 +630,7 @@ msn_dc_process_packet(MsnDirectConn *dc,
case DC_STATE_ESTABLISHED:
- part = msn_slpmsgpart_new_from_data(dc->in_buffer, dc->header.length);
+ part = msn_slpmsgpart_new_from_data(dc->in_buffer + 4, dc->header.length);
msn_slplink_process_msg(dc->slplink, part);
/*
More information about the Commits
mailing list