comparison 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
comparison
equal deleted inserted replaced
31267:cdbca568eaf3 31268:9562a7baa9e4
52 if (data_len < P2P_PACKET_HEADER_SIZE) { 52 if (data_len < P2P_PACKET_HEADER_SIZE) {
53 return NULL; 53 return NULL;
54 } 54 }
55 55
56 part = msn_slpmsgpart_new(NULL); 56 part = msn_slpmsgpart_new(NULL);
57 part->info = msn_p2p_info_new(); 57 part->info = msn_p2p_info_new(MSN_P2P_VERSION_ONE);
58 58
59 /* Extract the binary SLP header */ 59 /* Extract the binary SLP header */
60 len = msn_p2p_header_from_wire(part->info, data); 60 len = msn_p2p_header_from_wire(part->info, data);
61 data += len; 61 data += len;
62 62