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

karl at svn.xiph.org karl at svn.xiph.org
Tue Sep 4 19:16:45 PDT 2007


Author: karl
Date: 2007-09-04 19:16:45 -0700 (Tue, 04 Sep 2007)
New Revision: 13754

Modified:
   icecast/trunk/icecast/src/stats.c
Log:
allow mount param for webroot xsl pages, closes #990


Modified: icecast/trunk/icecast/src/stats.c
===================================================================
--- icecast/trunk/icecast/src/stats.c	2007-09-04 21:35:41 UTC (rev 13753)
+++ icecast/trunk/icecast/src/stats.c	2007-09-05 02:16:45 UTC (rev 13754)
@@ -931,8 +931,9 @@
 {
     xmlDocPtr doc;
     char *xslpath = util_get_path_from_normalised_uri (uri);
+    const char *mount = httpp_get_query_param (client->parser, "mount");
 
-    stats_get_xml(&doc, 0, NULL);
+    stats_get_xml(&doc, 0, mount);
 
     xslt_transform(doc, xslpath, client);
 



More information about the commits mailing list