fix bug of get daemon

pull/133/head
winlin 11 years ago
parent 7930add7f9
commit 76290a5a12

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

@ -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;
}

Loading…
Cancel
Save