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

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Thu Aug 26 05:26:32 PDT 2004


Author: karl
Date: 2004-08-26 05:26:32 -0700 (Thu, 26 Aug 2004)
New Revision: 7639

Modified:
   icecast/branches/kh/icecast/src/source.c
Log:
make sure source clients without mount get listed, missed from previous patch


Modified: icecast/branches/kh/icecast/src/source.c
===================================================================
--- icecast/branches/kh/icecast/src/source.c	2004-08-26 02:19:01 UTC (rev 7638)
+++ icecast/branches/kh/icecast/src/source.c	2004-08-26 12:26:32 UTC (rev 7639)
@@ -1293,7 +1293,9 @@
         source->client->con->sent_bytes += bytes;
 
         stats_event_inc(NULL, "source_client_connections");
+        stats_event (source->mount, "listeners", "0");
         source_main (source);
+        stats_event (source->mount, "listeners", NULL);
     }
     source_free_source (source);
     return NULL;



More information about the commits mailing list