winlin

fix bug of get daemon

# 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;
}
... ...