Browse Source

Fix misuse of function

master
Con Kolivas 10 years ago
parent
commit
1e7a786915
  1. 2
      src/generator.c

2
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);
}
}

Loading…
Cancel
Save