changeset 31540:fe35df9a5af4

Sanitizing the soap connection would have cleared the current request, so using it after is pointless.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 05 Jan 2011 02:01:54 +0000
parents bc27c845a48f
children fac9edb4f73c
files libpurple/protocols/msn/soap.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/soap.c	Wed Jan 05 01:56:45 2011 +0000
+++ b/libpurple/protocols/msn/soap.c	Wed Jan 05 02:01:54 2011 +0000
@@ -229,12 +229,6 @@
 	msn_soap_connection_sanitize(conn, FALSE);
 
 	conn->run_timer = purple_timeout_add(0, msn_soap_connection_run, conn);
-
-	if (conn->current_request) {
-		MsnSoapRequest *req = conn->current_request;
-		conn->current_request = NULL;
-		msn_soap_connection_destroy_foreach_cb(req, conn);
-	}
 }
 
 static void