diff libpurple/protocols/msn/msg.c @ 31203:4a8ebd7ed879

Drop MsnSlpHeader in favor of MsnP2pBinaryHeader.
author masca@cpw.pidgin.im
date Thu, 03 Jun 2010 21:41:43 +0000
parents 230caecf5435
children c2e911eeffc9
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Thu Jun 03 21:18:53 2010 +0000
+++ b/libpurple/protocols/msn/msg.c	Thu Jun 03 21:41:43 2010 +0000
@@ -163,7 +163,7 @@
 void
 msn_message_parse_slp_body(MsnMessage *msg, const char *body, size_t len)
 {
-	MsnSlpHeader header;
+	MsnP2PBinaryHeader header;
 	const char *tmp;
 	int body_len;
 
@@ -298,7 +298,7 @@
 	if (content_type != NULL &&
 		!strcmp(content_type, "application/x-msnmsgrp2p"))
 	{
-		MsnSlpHeader header;
+		MsnP2PBinaryHeader header;
 		MsnSlpFooter footer;
 		int body_len;
 
@@ -384,7 +384,7 @@
 char *
 msn_message_gen_slp_body(MsnMessage *msg, size_t *ret_size)
 {
-	MsnSlpHeader header;
+	MsnP2PBinaryHeader header;
 
 	char *tmp, *base;
 	const void *body;
@@ -475,7 +475,7 @@
 
 	if (msg->msnslp_message)
 	{
-		MsnSlpHeader header;
+		MsnP2PBinaryHeader header;
 		MsnSlpFooter footer;
 
 		header.session_id = GUINT32_TO_LE(msg->msnslp_header.session_id);