1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

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

svn path=/icecast/trunk/icecast/; revision=14030
This commit is contained in:
Karl Heyes 2007-10-22 02:23:10 +00:00
parent a26bb50004
commit 27f58c1189

View File

@ -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
{