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

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Fri Apr 5 12:49:13 PDT 2013


Author: ph3-der-loewe
Date: 2013-04-05 12:49:13 -0700 (Fri, 05 Apr 2013)
New Revision: 18909

Modified:
   icecast/trunk/icecast/src/cfgfile.c
Log:
added a warning in case mount of type default is defined but a mountname is set

Modified: icecast/trunk/icecast/src/cfgfile.c
===================================================================
--- icecast/trunk/icecast/src/cfgfile.c	2013-04-05 16:44:51 UTC (rev 18908)
+++ icecast/trunk/icecast/src/cfgfile.c	2013-04-05 19:49:13 UTC (rev 18909)
@@ -715,6 +715,10 @@
         config_clear_mount (mount);
         return;
     }
+    else if (mount->mountname != NULL && mount->mounttype == MOUNT_TYPE_DEFAULT)
+    {
+    	WARN1("Default mount %s has mountpoint set. This is an unoffical feature and should not be used.", mount->mountname);
+    }
     if (mount->auth)
         mount->auth->mount = strdup ((char *)mount->mountname);
     while(current) {



More information about the commits mailing list