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

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) ...@@ -1097,7 +1097,7 @@ listener_t *config_get_listen_sock (ice_config_t *config, connection_t *con)
global_lock(); global_lock();
while (listener) while (listener)
{ {
if (i < global.server_sockets) if (i >= global.server_sockets)
listener = NULL; listener = NULL;
else else
{ {
Supports Markdown
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