diff libpurple/protocols/bonjour/jabber.c @ 27119:d078048fb03a

Pass the gc as the handle in a bunch of calls to purple_proxy_connect This causes the connection attempt to be canceled/destroyed if the gc is destroyed
author Mark Doliner <mark@kingant.net>
date Thu, 18 Jun 2009 23:36:55 +0000
parents 9331016df8ac
children 96cafa3d271c
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/jabber.c	Thu Jun 18 23:31:38 2009 +0000
+++ b/libpurple/protocols/bonjour/jabber.c	Thu Jun 18 23:36:55 2009 +0000
@@ -926,7 +926,9 @@
 		}
 		purple_proxy_info_set_type(proxy_info, PURPLE_PROXY_NONE);
 
-		connect_data = purple_proxy_connect(NULL, jdata->account,
+		connect_data = purple_proxy_connect(
+						    purple_account_get_connection(jdata->account),
+						    jdata->account,
 						    ip, bb->port_p2pj, _connected_to_buddy, pb);
 
 		if (connect_data == NULL) {