soc.2010.msn-tlc: d24f73c2: Use the documented enum flag instead of ...

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


----------------------------------------------------------------------
Revision: d24f73c26fe77f6ee750f859b4c0cd97f8447af8
Parent:   80dd5d79baf1228e70341099f49e45532a1a1a25
Author:   masca at cpw.pidgin.im
Date:     08/05/10 20:08:23
Branch:   im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/d24f73c26fe77f6ee750f859b4c0cd97f8447af8

Changelog: 

Use the documented enum flag instead of a magic number.

Changes against parent 80dd5d79baf1228e70341099f49e45532a1a1a25

  patched  libpurple/protocols/msn/slplink.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c	ed15af8add052ba63210eb5260ad8626e93044db
+++ libpurple/protocols/msn/slplink.c	ee7a43fcf9f69478d342f97a761c66f71f4b229c
@@ -508,7 +508,7 @@ process_complete_msg(MsnSlpLink *slplink
 
 	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;


More information about the Commits mailing list