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

release v0.3, 11773 lines

This commit is contained in:
winlin 2013-11-04 22:55:19 +08:00
parent 58d9677ddd
commit 751323fac8
3 changed files with 37 additions and 7 deletions

View file

@ -215,7 +215,7 @@ int SrsClient::check_vhost()
}
SrsConfDirective* conf = NULL;
if ((conf = vhost->get(RTMP_VHOST_ENABLED)) != NULL && conf->arg0() == "off") {
if ((conf = vhost->get(RTMP_VHOST_ENABLED)) != NULL && conf->arg0() != "on") {
ret = ERROR_RTMP_VHOST_NOT_FOUND;
srs_error("vhost %s disabled. ret=%d", req->vhost.c_str(), ret);
return ret;