changeset 31307:320c6eb04e11

Use the flag util function here too.
author masca@cpw.pidgin.im
date Thu, 05 Aug 2010 23:58:21 +0000
parents 5964f65c17ed
children d9ca3798faa5
files libpurple/protocols/msn/slpmsg_part.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
 			{