aboutsummaryrefslogtreecommitdiffstats
path: root/lib/proxy.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-01-16 16:50:24 -0300
committerdequis <dx@dxzone.com.ar>2015-01-16 16:50:24 -0300
commit20c9c216b358f97b448282752df171820ff97ab1 (patch)
treec1018c8337bd6b63ffb88154edddcfbacef0a5f9 /lib/proxy.c
parent434ffa21f40da03dd9f6efdf1f0713f34df54e89 (diff)
Fix some more g_source_remove warnings, this time in proxy.c
Both in gaim_io_connected(), visible when using an http proxy
Diffstat (limited to 'lib/proxy.c')
-rw-r--r--lib/proxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/proxy.c b/lib/proxy.c
index 2adcde3b..addda16c 100644
--- a/lib/proxy.c
+++ b/lib/proxy.c
@@ -85,6 +85,7 @@ static gboolean gaim_io_connected(gpointer data, gint source, b_input_condition
freeaddrinfo(phb->gai);
closesocket(source);
b_event_remove(phb->inpa);
+ phb->inpa = 0;
if( phb->proxy_func )
phb->proxy_func(phb->proxy_data, -1, B_EV_IO_READ);
else {
@@ -96,6 +97,7 @@ static gboolean gaim_io_connected(gpointer data, gint source, b_input_condition
freeaddrinfo(phb->gai);
sock_make_blocking(source);
b_event_remove(phb->inpa);
+ phb->inpa = 0;
if( phb->proxy_func )
phb->proxy_func(phb->proxy_data, source, B_EV_IO_READ);
else {