pidgin: 1d9e578b: Pass a handle to purple_proxy_connect() ...
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu Jun 18 18:45:23 EDT 2009
-----------------------------------------------------------------
Revision: 1d9e578b40de6dcea2cb950667d6db7a8a84547f
Ancestor: b4d9ebda1400b338079c89d5b6ac444b73755128
Author: markdoliner at pidgin.im
Date: 2009-06-18T22:40:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1d9e578b40de6dcea2cb950667d6db7a8a84547f
Modified files:
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
Pass a handle to purple_proxy_connect() when making this connection.
This causes the proxy attempt to be canceled and freed if the user
signs off before the connection is established.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c abbebdc65b815a40e44f2c5b941e3f57092e7dfe
+++ libpurple/protocols/yahoo/yahoo.c bd3929502affd03075dbf896683a64bf71feb76d
@@ -2647,7 +2647,7 @@ static void yahoo_process_p2p(PurpleConn
p2p_data->source = -1;
/* connect to host */
- if((purple_proxy_connect(NULL, account, host_ip, YAHOO_PAGER_PORT_P2P, yahoo_p2p_init_cb, p2p_data))==NULL) {
+ if((purple_proxy_connect(gc, account, host_ip, YAHOO_PAGER_PORT_P2P, yahoo_p2p_init_cb, p2p_data))==NULL) {
purple_debug_info("yahoo","p2p: Connection to %s failed\n", host_ip);
g_free(p2p_data->host_ip);
g_free(p2p_data->host_username);
More information about the Commits
mailing list