Commit a952e3cd authored by Michael Smith's avatar Michael Smith
Browse files

Fix for reconnecting indefinately, don't know how that got to be how it was.

svn path=/trunk/ices/; revision=2079
parent 81709049
......@@ -149,8 +149,9 @@ void *ices_instance_stream(void *arg)
input_flush_queue(stream->queue, 1);
while((i < stream->reconnect_attempts
|| i==-1) && !ices_config->shutdown)
while((i < stream->reconnect_attempts ||
stream->reconnect_attempts==-1) &&
LOG_WARN0("Trying reconnect after server socket error");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment