[xiph-commits] r14030 - icecast/trunk/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Sun Oct 21 19:23:10 PDT 2007


Author: karl
Date: 2007-10-21 19:23:10 -0700 (Sun, 21 Oct 2007)
New Revision: 14030

Modified:
   icecast/trunk/icecast/src/cfgfile.c
Log:
boundary limit check was wrong, we won't be able to match any of the listen sockets


Modified: icecast/trunk/icecast/src/cfgfile.c
===================================================================
--- icecast/trunk/icecast/src/cfgfile.c	2007-10-21 14:52:18 UTC (rev 14029)
+++ icecast/trunk/icecast/src/cfgfile.c	2007-10-22 02:23:10 UTC (rev 14030)
@@ -1097,7 +1097,7 @@
     global_lock();
     while (listener)
     {
-        if (i < global.server_sockets)
+        if (i >= global.server_sockets)
             listener = NULL;
         else
         {



More information about the commits mailing list