1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix #1352, fix typo of daemon.

This commit is contained in:
winlin 2019-05-07 07:46:20 +08:00
parent ffe391aa49
commit 5d8fb01b45
6 changed files with 18 additions and 18 deletions

View file

@ -3890,7 +3890,7 @@ srs_error_t SrsConfig::check_normal_config()
}
// asprocess conflict with daemon
if (get_asprocess() && get_deamon()) {
if (get_asprocess() && get_daemon()) {
return srs_error_new(ERROR_SYSTEM_CONFIG_INVALID, "daemon conflicts with asprocess");
}
@ -3990,7 +3990,7 @@ string SrsConfig::argv()
return _argv;
}
bool SrsConfig::get_deamon()
bool SrsConfig::get_daemon()
{
SrsConfDirective* conf = root->get("daemon");
if (!conf || conf->arg0().empty()) {