changeset 24385:5cedf11b8e77

It's not possible for wasted to be TRUE here. Wasted will only be TRUE if we were processing data in one of the read_cb functions and something called msn_servconn_destroy(). But if we're just now connecting then we won't be in read_cb
author Mark Doliner <mark@kingant.net>
date Sat, 15 Nov 2008 02:49:49 +0000
parents f5ff8cc82a19
children 892adcbf94c9
files libpurple/protocols/msn/servconn.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/servconn.c	Sat Nov 15 02:44:58 2008 +0000
+++ b/libpurple/protocols/msn/servconn.c	Sat Nov 15 02:49:49 2008 +0000
@@ -175,14 +175,6 @@
 	servconn = data;
 	servconn->connect_data = NULL;
 
-	if (servconn->wasted)
-	{
-		if (source >= 0)
-			close(source);
-		msn_servconn_destroy(servconn);
-		return;
-	}
-
 	servconn->fd = source;
 
 	if (source >= 0)