pidgin: 30f1540c: These aren't needed either.
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu Jun 18 22:05:22 EDT 2009
-----------------------------------------------------------------
Revision: 30f1540c6158d08c3c58172fff717ac182596cff
Ancestor: 635ad84c8e49c28d31198cc581c1ac6541ff88be
Author: markdoliner at pidgin.im
Date: 2009-06-19T02:03:11
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/30f1540c6158d08c3c58172fff717ac182596cff
Modified files:
libpurple/protocols/simple/simple.c
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
These aren't needed either.
-------------- next part --------------
============================================================
--- libpurple/protocols/simple/simple.c 051593435439b0a15405a948daf3e29a8119dc46
+++ libpurple/protocols/simple/simple.c 6c3aaed7b7081a1bb904ae604a12f209ca1b47dd
@@ -446,13 +446,6 @@ static void send_later_cb(gpointer data,
struct simple_account_data *sip;
struct sip_connection *conn;
- if (!PURPLE_CONNECTION_IS_VALID(gc))
- {
- if (source >= 0)
- close(source);
- return;
- }
-
if(source < 0) {
purple_connection_error_reason(gc,
PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
@@ -1735,13 +1728,6 @@ static void login_cb(gpointer data, gint
struct simple_account_data *sip;
struct sip_connection *conn;
- if (!PURPLE_CONNECTION_IS_VALID(gc))
- {
- if (source >= 0)
- close(source);
- return;
- }
-
if(source < 0) {
purple_connection_error_reason(gc,
PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
============================================================
--- libpurple/protocols/yahoo/yahoo.c aae8e526a3ec645d353fb2acf9024de26a137f96
+++ libpurple/protocols/yahoo/yahoo.c 7843dbc20b3873705dc81498fe55757d68587641
@@ -2990,11 +2990,6 @@ static void yahoo_got_web_connected(gpoi
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