[xiph-commits] r10034 - icecast/branches/kh/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Mon Sep 19 15:33:59 PDT 2005


Author: karl
Date: 2005-09-19 15:33:56 -0700 (Mon, 19 Sep 2005)
New Revision: 10034

Modified:
   icecast/branches/kh/icecast/src/source.c
Log:
keep in sync with 2.3.  maintain listener peak count over relay restarts


Modified: icecast/branches/kh/icecast/src/source.c
===================================================================
--- icecast/branches/kh/icecast/src/source.c	2005-09-19 02:11:16 UTC (rev 10033)
+++ icecast/branches/kh/icecast/src/source.c	2005-09-19 22:33:56 UTC (rev 10034)
@@ -683,7 +683,7 @@
     stats_event_inc (NULL, "source_total_connections");
     stats_event (source->mount, "slow_listeners", "0");
     stats_event (source->mount, "server_type", source->format->contenttype);
-    stats_event (source->mount, "listener_peak", "0");
+    stats_event_args (source->mount, "listener_peak", "%lu", source->peak_listeners);
     stats_event_time (source->mount, "stream_start");
 
     DEBUG0("Source creation complete");



More information about the commits mailing list