pidgin: 537944c5: This isn't needed because connection.c c...

markdoliner at pidgin.im markdoliner at pidgin.im
Thu Jun 18 21:40:21 EDT 2009


-----------------------------------------------------------------
Revision: 537944c5c35909af9702cd3c1cf6e960a8b57487
Ancestor: 2ccf5f2aa36e16bb5f762a5bb1c64cfb11210417
Author: markdoliner at pidgin.im
Date: 2009-06-19T01:36:58
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/537944c5c35909af9702cd3c1cf6e960a8b57487

Modified files:
        libpurple/protocols/yahoo/yahoo.c

ChangeLog: 

This isn't needed because connection.c cancels the connection attempt
by calling purple_proxy_connect_cancel_with_handle() before the gc
is destroyed

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	e2a90bba050db2b751e34274bdf86dd31e030db5
+++ libpurple/protocols/yahoo/yahoo.c	aae8e526a3ec645d353fb2acf9024de26a137f96
@@ -2963,11 +2963,6 @@ static void yahoo_got_connected(gpointer
 	struct yahoo_data *yd;
 	struct yahoo_packet *pkt;
 
-	if (!PURPLE_CONNECTION_IS_VALID(gc)) {
-		close(source);
-		return;
-	}
-
 	if (source < 0) {
 		gchar *tmp;
 		tmp = g_strdup_printf(_("Could not establish a connection with the server:\n%s"),


More information about the Commits mailing list