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

karl at svn.xiph.org karl at svn.xiph.org
Mon Aug 8 19:55:40 PDT 2005


Author: karl
Date: 2005-08-08 19:55:38 -0700 (Mon, 08 Aug 2005)
New Revision: 9721

Modified:
   icecast/trunk/icecast/src/source.c
Log:
make sure we have the initial listeners stat


Modified: icecast/trunk/icecast/src/source.c
===================================================================
--- icecast/trunk/icecast/src/source.c	2005-08-09 02:14:20 UTC (rev 9720)
+++ icecast/trunk/icecast/src/source.c	2005-08-09 02:55:38 UTC (rev 9721)
@@ -598,6 +598,7 @@
     source->listeners = 0;
     stats_event_inc (NULL, "source_total_connections");
     stats_event (source->mount, "slow_listeners", "0");
+    stats_event_args (source->mount, "listeners", "%lu", source->listeners);
     stats_event (source->mount, "listener_peak", "0");
     stats_event_time (source->mount, "stream_start");
 



More information about the commits mailing list