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

msmith at motherfish-iii.xiph.org msmith at motherfish-iii.xiph.org
Mon Oct 11 21:49:57 PDT 2004


Author: msmith
Date: 2004-10-11 21:49:56 -0700 (Mon, 11 Oct 2004)
New Revision: 7983

Modified:
   icecast/trunk/icecast/src/main.c
Log:
Correct a typo in one message, and change "WARNING" to "ERROR" in another,
since it's a fatal error.



Modified: icecast/trunk/icecast/src/main.c
===================================================================
--- icecast/trunk/icecast/src/main.c	2004-10-12 01:48:38 UTC (rev 7982)
+++ icecast/trunk/icecast/src/main.c	2004-10-12 04:49:56 UTC (rev 7983)
@@ -406,7 +406,7 @@
             _fatal_error(pbuf);
             switch (ret) {
             case CONFIG_EINSANE:
-                _fatal_error("filename was null of blank");
+                _fatal_error("filename was null or blank");
                 break;
             case CONFIG_ENOROOT:
                 _fatal_error("no root element found");
@@ -446,7 +446,7 @@
      * assume */
     if(!getuid()) /* Running as root! Don't allow this */
     {
-        fprintf(stderr, "WARNING: You should not run icecast2 as root\n");
+        fprintf(stderr, "ERROR: You should not run icecast2 as root\n");
         fprintf(stderr, "Use the changeowner directive in the config file\n");
         _shutdown_subsystems();
         return 1;



More information about the commits mailing list