changeset 27124:94fa9e38f366

This isn't needed because connection.c cancels the connection attempt by calling purple_proxy_connect_cancel_with_handle() before the gc is destroyed
author Mark Doliner <mark@kingant.net>
date Fri, 19 Jun 2009 01:36:58 +0000
parents 3ea4e638ce81
children d8afc4ba7ce6
files libpurple/protocols/yahoo/yahoo.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Fri Jun 19 01:28:46 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Fri Jun 19 01:36:58 2009 +0000
@@ -2963,11 +2963,6 @@
 	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"),