changeset 20431:67cda4e0dac8

Finish commenting out references to directconn that would never be called anyway
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 26 May 2007 15:06:40 +0000
parents abfb0b366109
children 703fc3437ab5
files libpurple/protocols/msn/slplink.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Sat May 26 14:19:11 2007 +0000
+++ b/libpurple/protocols/msn/slplink.c	Sat May 26 15:06:40 2007 +0000
@@ -246,11 +246,13 @@
 void
 msn_slplink_send_msg(MsnSlpLink *slplink, MsnMessage *msg)
 {
+#if 0
 	if (slplink->directconn != NULL)
 	{
 		msn_directconn_send_msg(slplink->directconn, msg);
 	}
 	else
+#endif
 	{
 		if (slplink->swboard == NULL)
 		{
@@ -636,9 +638,10 @@
 			MsnDirectConn *directconn;
 
 			directconn = slplink->directconn;
-
+#if 0
 			if (!directconn->acked)
 				msn_directconn_send_handshake(directconn);
+#endif
 		}
 		else if (slpmsg->flags == 0x0 || slpmsg->flags == 0x20 ||
 				 slpmsg->flags == 0x1000030)