diff libpurple/protocols/msn/slpmsg_part.c @ 31268:9562a7baa9e4

Add P2Pv2 header information to the P2P info struct. Of course, all the v2 stuff does nothing right now.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 28 Feb 2011 00:19:29 +0000
parents 34da321b60f1
children 8cf9270acf4c
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg_part.c	Mon Feb 28 00:12:20 2011 +0000
+++ b/libpurple/protocols/msn/slpmsg_part.c	Mon Feb 28 00:19:29 2011 +0000
@@ -54,7 +54,7 @@
 	}
 
 	part = msn_slpmsgpart_new(NULL);
-	part->info = msn_p2p_info_new();
+	part->info = msn_p2p_info_new(MSN_P2P_VERSION_ONE);
 
 	/* Extract the binary SLP header */
 	len = msn_p2p_header_from_wire(part->info, data);