changeset 30871:393e127b3d83

Use the documented enum flag instead of a magic number.
author masca@cpw.pidgin.im
date Fri, 06 Aug 2010 00:08:23 +0000
parents d9ca3798faa5
children c209701a3152
files libpurple/protocols/msn/slplink.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;