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

masca at cpw.pidgin.im masca at cpw.pidgin.im
Thu Aug 5 22:01:13 EDT 2010


----------------------------------------------------------------------
Revision: d24824797d369af03ad98a53d11449803c57ccab
Parent:   fd6eabc91bdfaede81d9918d78f9657bb9734afa
Author:   masca at cpw.pidgin.im
Date:     08/05/10 19:58:21
Branch:   im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/d24824797d369af03ad98a53d11449803c57ccab

Changelog: 

Use the flag util function here too.

Changes against parent fd6eabc91bdfaede81d9918d78f9657bb9734afa

  patched  libpurple/protocols/msn/slpmsg_part.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpmsg_part.c	b4cfa1967ef3406f75bd3fda2b4e5d9e801871fd
+++ libpurple/protocols/msn/slpmsg_part.c	f5331a1bd30412cb5c58b5fbe4210314dd4d454a
@@ -184,9 +184,7 @@ msn_slpmsgpart_ack(MsnSlpMessagePart *pa
 	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)
 			{


More information about the Commits mailing list