Commit 27f58c11 authored by Karl Heyes's avatar Karl Heyes

boundary limit check was wrong, we won't be able to match any of the listen sockets

svn path=/icecast/trunk/icecast/; revision=14030
parent a26bb500
......@@ -1097,7 +1097,7 @@ listener_t *config_get_listen_sock (ice_config_t *config, connection_t *con)
global_lock();
while (listener)
{
if (i < global.server_sockets)
if (i >= global.server_sockets)
listener = NULL;
else
{
......
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