Commit b4887fc5 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

added a warning in case mount of type default is defined but a mountname is set

svn path=/icecast/trunk/icecast/; revision=18909
parent 4ba4b3d1
......@@ -715,6 +715,10 @@ static void _parse_mount(xmlDocPtr doc, xmlNodePtr node,
config_clear_mount (mount);
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) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment