diff libpurple/protocols/msn/slpcall.c @ 31301:16ab805406d1

Get rid of the offset field in the SlpMessage in favor of the one in the Header.
author masca@cpw.pidgin.im
date Thu, 05 Aug 2010 21:58:13 +0000
parents 6814678f3c63
children 5964f65c17ed
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpcall.c	Wed Aug 04 04:30:03 2010 +0000
+++ b/libpurple/protocols/msn/slpcall.c	Thu Aug 05 21:58:13 2010 +0000
@@ -1060,7 +1060,7 @@
 
 	slpcall = NULL;
 	body = slpmsg->buffer;
-	body_len = slpmsg->offset;
+	body_len = slpmsg->header->offset;
 
 	if (slpmsg->flags == P2P_NO_FLAG || slpmsg->flags == P2P_WML2009_COMP)
 	{