changeset 30974:f26e961e1274

Fix the name of this flag.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 28 Nov 2010 02:15:18 +0000
parents 79c438f2cb69
children 2812bbd3fc18
files libpurple/protocols/msn/p2p.c libpurple/protocols/msn/p2p.h libpurple/protocols/msn/slpcall.c libpurple/protocols/msn/slplink.c
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/p2p.c	Sun Nov 28 00:44:35 2010 +0000
+++ b/libpurple/protocols/msn/p2p.c	Sun Nov 28 02:15:18 2010 +0000
@@ -95,6 +95,6 @@
 msn_p2p_msg_is_data(const MsnP2PHeaderFlag flags)
 {
 	return (flags == P2P_MSN_OBJ_DATA ||
-	        flags == (P2P_WML2009_COMP | P2P_MSN_OBJ_DATA) ||
+	        flags == (P2P_WLM2009_COMP | P2P_MSN_OBJ_DATA) ||
 	        flags == P2P_FILE_DATA);
 }
--- a/libpurple/protocols/msn/p2p.h	Sun Nov 28 00:44:35 2010 +0000
+++ b/libpurple/protocols/msn/p2p.h	Sun Nov 28 02:15:18 2010 +0000
@@ -73,7 +73,7 @@
 	P2P_CLOSE           = 0x40,       /**< Close session */
 	P2P_TLP_ERROR       = 0x80,       /**< Error at transport layer protocol */
 	P2P_DC_HANDSHAKE    = 0x100,      /**< Direct Handshake */
-	P2P_WML2009_COMP    = 0x1000000,  /**< Compatibility with WLM 2009 */
+	P2P_WLM2009_COMP    = 0x1000000,  /**< Compatibility with WLM 2009 */
 	P2P_FILE_DATA       = 0x1000030   /**< File transfer data */
 } MsnP2PHeaderFlag;
 /* Info From:
--- a/libpurple/protocols/msn/slpcall.c	Sun Nov 28 00:44:35 2010 +0000
+++ b/libpurple/protocols/msn/slpcall.c	Sun Nov 28 02:15:18 2010 +0000
@@ -1061,7 +1061,7 @@
 	body = slpmsg->buffer;
 	body_len = slpmsg->header->offset;
 
-	if (slpmsg->header->flags == P2P_NO_FLAG || slpmsg->header->flags == P2P_WML2009_COMP)
+	if (slpmsg->header->flags == P2P_NO_FLAG || slpmsg->header->flags == P2P_WLM2009_COMP)
 	{
 		char *body_str;
 
--- a/libpurple/protocols/msn/slplink.c	Sun Nov 28 00:44:35 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Sun Nov 28 02:15:18 2010 +0000
@@ -518,7 +518,7 @@
 			msn_directconn_send_handshake(directconn);
 #endif
 	}
-	else if (slpmsg->header->flags == P2P_NO_FLAG || slpmsg->header->flags == P2P_WML2009_COMP ||
+	else if (slpmsg->header->flags == P2P_NO_FLAG || slpmsg->header->flags == P2P_WLM2009_COMP ||
 			msn_p2p_msg_is_data(slpmsg->header->flags))
 	{
 		/* Release all the messages and send the ACK */