changeset 31298:b9c80d9c2ae5

Add DC packet lenght when creating the SlpPart.
author masca@cpw.pidgin.im
date Fri, 30 Jul 2010 18:21:59 +0000
parents 2c2ca0aed68e
children 4445ae4215b8
files libpurple/protocols/msn/directconn.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.c	Thu Jul 29 20:54:50 2010 +0000
+++ b/libpurple/protocols/msn/directconn.c	Fri Jul 30 18:21:59 2010 +0000
@@ -630,7 +630,7 @@
 
 	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);
 
 		/*