Fixed balancer.

This commit is contained in:
Thulinma 2016-07-21 14:46:29 +02:00
parent 4e35165f3d
commit f9dcbc7f13

View file

@ -275,7 +275,7 @@ void handleServer(void * servName){
hosts[host].availBandwidth = bandwidth.asInt();
INFO_MSG("Monitoring %s on port %d.", host.c_str(), port, passphrase.c_str());
down = true;
bool down = true;
Socket::Connection servConn(host, port, false);
while (cfg->is_active){