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

karl at svn.xiph.org karl at svn.xiph.org
Wed Aug 24 18:03:35 PDT 2005


Author: karl
Date: 2005-08-24 18:03:33 -0700 (Wed, 24 Aug 2005)
New Revision: 9848

Modified:
   icecast/trunk/icecast/src/source.c
Log:
hide fallback file from webroot stats, still accessible from admin. Missed
log debug line from apply function


Modified: icecast/trunk/icecast/src/source.c
===================================================================
--- icecast/trunk/icecast/src/source.c	2005-08-25 00:07:17 UTC (rev 9847)
+++ icecast/trunk/icecast/src/source.c	2005-08-25 01:03:33 UTC (rev 9848)
@@ -1133,7 +1133,10 @@
 {
     /*  skip if source is a fallback to file */
     if (source->running && source->client == NULL)
+    {
+        stats_event_hidden (source->mount, NULL, 1);
         return;
+    }
     /* set global settings first */
     source->queue_size_limit = config->queue_size_limit;
     source->timeout = config->source_timeout;
@@ -1180,6 +1183,7 @@
     DEBUG1 ("queue size to %u", source->queue_size_limit);
     DEBUG1 ("burst size to %u", source->burst_size);
     DEBUG1 ("source timeout to %u", source->timeout);
+    DEBUG1 ("fallback_when_full to %u", source->fallback_when_full);
 }
 
 



More information about the commits mailing list