Use the flag util function here too. soc.2010.msn-tlc

Thu, 05 Aug 2010 23:58:21 +0000

author
Jorge Villaseñor <masca@cpw.pidgin.im>
date
Thu, 05 Aug 2010 23:58:21 +0000
branch
soc.2010.msn-tlc
changeset 31071
410b3d75bb4a
parent 31070
2a60d87864b9
child 31072
55bfe976adfe

Use the flag util function here too.

libpurple/protocols/msn/slpmsg_part.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/msn/slpmsg_part.c	Thu Aug 05 23:42:42 2010 +0000
+++ b/libpurple/protocols/msn/slpmsg_part.c	Thu Aug 05 23:58:21 2010 +0000
@@ -184,9 +184,7 @@
 	else
 	{
 		/* The whole message has been sent */
-		if (slpmsg->flags == P2P_MSN_OBJ_DATA ||
-	        slpmsg->flags == (P2P_WML2009_COMP | P2P_MSN_OBJ_DATA) ||
-	        slpmsg->flags == P2P_FILE_DATA) 
+		if (msn_p2p_msg_is_data(slpmsg->flags))
 		{
 			if (slpmsg->slpcall != NULL)
 			{

mercurial