diff libpurple/protocols/simple/simple.c @ 27208:b1847ec1ba5f

These aren't needed either.
author Mark Doliner <mark@kingant.net>
date Fri, 19 Jun 2009 02:03:11 +0000
parents 1fcd09c34fee
children f541583e31bd
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c	Fri Jun 19 01:52:03 2009 +0000
+++ b/libpurple/protocols/simple/simple.c	Fri Jun 19 02:03:11 2009 +0000
@@ -446,13 +446,6 @@
 	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 @@
 	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,