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

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Mon Jun 13 14:54:22 PDT 2005


Author: karl
Date: 2005-06-13 14:54:16 -0700 (Mon, 13 Jun 2005)
New Revision: 9446

Modified:
   icecast/branches/kh/icecast/src/xslt.c
Log:
missed this from previous patch, error case


Modified: icecast/branches/kh/icecast/src/xslt.c
===================================================================
--- icecast/branches/kh/icecast/src/xslt.c	2005-06-13 16:43:44 UTC (rev 9445)
+++ icecast/branches/kh/icecast/src/xslt.c	2005-06-13 21:54:16 UTC (rev 9446)
@@ -163,10 +163,9 @@
 
     if (cur == NULL)
     {
-        const char error[] = "Could not parse XSLT file";
-
         thread_mutex_unlock(&xsltlock);
-        client_send_bytes (client, error, sizeof (error)-1);
+        ERROR1 ("problem reading stylesheet \"%s\"", xslfilename);
+        client_send_404 (client, "Could not parse XSLT file");
         return;
     }
 



More information about the commits mailing list