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

msmith at motherfish-iii.xiph.org msmith at motherfish-iii.xiph.org
Tue Feb 15 16:54:57 PST 2005


Author: msmith
Date: 2005-02-15 16:54:55 -0800 (Tue, 15 Feb 2005)
New Revision: 8934

Modified:
   icecast/trunk/icecast/src/xslt.c
Log:
Make a debug message into a warning message, so it'll be logged more often
(since it's useful), and make it print out the file that it failed to find,
so that users can figure out what to do.



Modified: icecast/trunk/icecast/src/xslt.c
===================================================================
--- icecast/trunk/icecast/src/xslt.c	2005-02-16 00:03:13 UTC (rev 8933)
+++ icecast/trunk/icecast/src/xslt.c	2005-02-16 00:54:55 UTC (rev 8934)
@@ -105,7 +105,8 @@
     struct stat file;
 
     if(stat(fn, &file)) {
-        DEBUG1("Error checking for stylesheet file: %s", strerror(errno));
+        WARN2("Error checking for stylesheet file \"%s\": %s", fn, 
+                strerror(errno));
         return NULL;
     }
 



More information about the commits mailing list