1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

fix bug of get daemon

This commit is contained in:
winlin 2014-03-23 14:47:09 +08:00
parent 7930add7f9
commit 76290a5a12
2 changed files with 9 additions and 1 deletions

8
trunk/conf/console.conf Normal file
View file

@ -0,0 +1,8 @@
# main config for srs.
# @see full.conf for detail config.
listen 1935;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ {
}

View file

@ -1304,7 +1304,7 @@ bool SrsConfig::get_deamon()
{
srs_assert(root);
SrsConfDirective* conf = root->get("deamon");
SrsConfDirective* conf = root->get("daemon");
if (conf && conf->arg0() == "off") {
return false;
}