Use the documented enum flag instead of a magic number. soc.2010.msn-tlc

Fri, 06 Aug 2010 00:08:23 +0000

author
Jorge Villaseñor <masca@cpw.pidgin.im>
date
Fri, 06 Aug 2010 00:08:23 +0000
branch
soc.2010.msn-tlc
changeset 31073
575bf3c49db6
parent 31072
55bfe976adfe
child 31074
a947992cbd5f

Use the documented enum flag instead of a magic number.

libpurple/protocols/msn/slplink.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/msn/slplink.c	Fri Aug 06 00:07:39 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Fri Aug 06 00:08:23 2010 +0000
@@ -508,7 +508,7 @@
 
 	purple_debug_info("msn", "msn_slplink_process_msg: slpmsg complete\n");
 
-	if (/* !slpcall->wasted && */ slpmsg->header->flags == 0x100)
+	if (/* !slpcall->wasted && */ slpmsg->header->flags == P2P_DC_HANDSHAKE)
 	{
 #if 0
 		MsnDirectConn *directconn;

mercurial