Commit 1ab9b4a8 authored by Karl Heyes's avatar Karl Heyes
Browse files

prevent logging lots of failed to reserve relay mountpoint. close #1513

svn path=/icecast/trunk/icecast/; revision=15764
parent 258cb85c
...@@ -403,7 +403,14 @@ static void check_relay_stream (relay_server *relay) ...@@ -403,7 +403,14 @@ static void check_relay_stream (relay_server *relay)
} }
} }
else else
WARN1 ("new relay but source \"%s\" already exists", relay->localmount); {
if (relay->start == 0)
{
WARN1 ("new relay but source \"%s\" already exists", relay->localmount);
relay->start = 1;
}
return;
}
} }
do do
{ {
......
Supports Markdown
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