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

karl at svn.xiph.org karl at svn.xiph.org
Fri Mar 13 19:46:41 PDT 2009


Author: karl
Date: 2009-03-13 19:46:40 -0700 (Fri, 13 Mar 2009)
New Revision: 15764

Modified:
   icecast/trunk/icecast/src/slave.c
Log:
prevent logging lots of failed to reserve relay mountpoint. close #1513


Modified: icecast/trunk/icecast/src/slave.c
===================================================================
--- icecast/trunk/icecast/src/slave.c	2009-03-13 14:01:24 UTC (rev 15763)
+++ icecast/trunk/icecast/src/slave.c	2009-03-14 02:46:40 UTC (rev 15764)
@@ -403,7 +403,14 @@
             }
         }
         else
-            WARN1 ("new relay but source \"%s\" already exists", relay->localmount);
+        {
+            if (relay->start == 0)
+            {
+                WARN1 ("new relay but source \"%s\" already exists", relay->localmount);
+                relay->start = 1;
+            }
+            return;
+        }
     }
     do
     {



More information about the commits mailing list