1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

When creating a source (in source_reserve), issue a warning if the mountpoint

does not start with a /, since clients will then be unable to connect to it

svn path=/icecast/trunk/icecast/; revision=7899
This commit is contained in:
Michael Smith 2004-10-01 00:42:19 +00:00
parent 8d4edddf0a
commit b6e001ce8d

View File

@ -70,6 +70,10 @@ source_t *source_reserve (const char *mount)
{
source_t *src = NULL;
if(mount[0] != '/')
WARN1("Source at \"%s\" does not start with '/', clients will be "
"unable to connect", mount);
do
{
avl_tree_wlock (global.source_tree);