From 1e7a78691595e121215a64ed4f302a3e139b4367 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 14 Feb 2015 14:29:02 +1100 Subject: [PATCH] Fix misuse of function --- src/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator.c b/src/generator.c index 340b67e0..b3a6072a 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1477,7 +1477,7 @@ static void *proxy_send(void *arg) LOGWARNING("Proxy %d:%s failed to send msg in proxy_send, dropping to reconnect", proxy->id, proxy->si->url); Close(cs->fd); - if (!parent_proxy && !subproxy->disabled) + if (!parent_proxy(subproxy) && !subproxy->disabled) disable_subproxy(gdata, proxy, subproxy); } }