libpurple/protocols/jabber/jabber.c

branch
soc.2013.gobjectification
changeset 34640
71bf359300e1
parent 34634
90fa70aa7e28
parent 34227
6d016a081401
child 34696
6e0d13978666
--- a/libpurple/protocols/jabber/jabber.c	Mon Jun 24 01:38:51 2013 +0530
+++ b/libpurple/protocols/jabber/jabber.c	Mon Jun 24 11:28:57 2013 +0530
@@ -31,6 +31,7 @@
 #include "conversation.h"
 #include "debug.h"
 #include "dnssrv.h"
+#include "http.h"
 #include "imgstore.h"
 #include "message.h"
 #include "notify.h"
@@ -1642,9 +1643,9 @@
 		js->bs_proxies = g_list_delete_link(js->bs_proxies, js->bs_proxies);
 	}
 
-	while(js->url_datas) {
-		purple_util_fetch_url_cancel(js->url_datas->data);
-		js->url_datas = g_slist_delete_link(js->url_datas, js->url_datas);
+	while(js->http_conns) {
+		purple_http_conn_cancel(js->http_conns->data);
+		js->http_conns = g_slist_delete_link(js->http_conns, js->http_conns);
 	}
 
 	g_free(js->stream_id);

mercurial