It's not possible for wasted to be TRUE here. Wasted will only be TRUE

Sat, 15 Nov 2008 02:49:49 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sat, 15 Nov 2008 02:49:49 +0000
changeset 24663
13f53cd06a48
parent 24662
6e251adf69de
child 24664
93cabd9c980b

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

libpurple/protocols/msn/servconn.c file | annotate | diff | comparison | revisions
--- 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)

mercurial