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

karl at svn.xiph.org karl at svn.xiph.org
Fri Jul 18 18:36:17 PDT 2008


Author: karl
Date: 2008-07-18 18:36:16 -0700 (Fri, 18 Jul 2008)
New Revision: 15121

Modified:
   icecast/trunk/icecast/src/stats.c
Log:
expand debug log message to include a mountpoint reference


Modified: icecast/trunk/icecast/src/stats.c
===================================================================
--- icecast/trunk/icecast/src/stats.c	2008-07-19 01:30:16 UTC (rev 15120)
+++ icecast/trunk/icecast/src/stats.c	2008-07-19 01:36:16 UTC (rev 15121)
@@ -470,7 +470,10 @@
         str = (char *)strdup (event->value);
     free (node->value);
     node->value = str;
-    DEBUG2 ("update node %s (%s)", node->name, node->value);
+    if (event->source)
+        DEBUG3 ("update \"%s\" %s (%s)", event->source, node->name, node->value);
+    else
+        DEBUG2 ("update global %s (%s)", node->name, node->value);
 }
 
 



More information about the commits mailing list