mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
refine the config code.
This commit is contained in:
parent
e7fd309cb0
commit
aef97db77a
1 changed files with 2 additions and 2 deletions
|
@ -1337,8 +1337,8 @@ int SrsConfig::check_config()
|
|||
&& n != "max_connections" && n != "daemon" && n != "heartbeat"
|
||||
&& n != "http_api" && n != "stats" && n != "vhost" && n != "pithy_print_ms"
|
||||
&& n != "http_stream" && n != "http_server" && n != "stream_caster"
|
||||
&& n != "utc_time")
|
||||
{
|
||||
&& n != "utc_time"
|
||||
) {
|
||||
ret = ERROR_SYSTEM_CONFIG_INVALID;
|
||||
srs_error("unsupported directive %s, ret=%d", n.c_str(), ret);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue