# HG changeset patch # User Mark Doliner # Date 1226717389 0 # Node ID 5cedf11b8e775f1706a924f7a0b3346a03b948ba # Parent f5ff8cc82a195382303f797dbdf840ff135bb247 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 diff -r f5ff8cc82a19 -r 5cedf11b8e77 libpurple/protocols/msn/servconn.c --- 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)