Mercurial > pidgin
comparison libpurple/protocols/yahoo/yahoo.c @ 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 | b1847ec1ba5f |
comparison
equal
deleted
inserted
replaced
27123:3ea4e638ce81 | 27124:94fa9e38f366 |
---|---|
2960 static void yahoo_got_connected(gpointer data, gint source, const gchar *error_message) | 2960 static void yahoo_got_connected(gpointer data, gint source, const gchar *error_message) |
2961 { | 2961 { |
2962 PurpleConnection *gc = data; | 2962 PurpleConnection *gc = data; |
2963 struct yahoo_data *yd; | 2963 struct yahoo_data *yd; |
2964 struct yahoo_packet *pkt; | 2964 struct yahoo_packet *pkt; |
2965 | |
2966 if (!PURPLE_CONNECTION_IS_VALID(gc)) { | |
2967 close(source); | |
2968 return; | |
2969 } | |
2970 | 2965 |
2971 if (source < 0) { | 2966 if (source < 0) { |
2972 gchar *tmp; | 2967 gchar *tmp; |
2973 tmp = g_strdup_printf(_("Could not establish a connection with the server:\n%s"), | 2968 tmp = g_strdup_printf(_("Could not establish a connection with the server:\n%s"), |
2974 error_message); | 2969 error_message); |