mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1657, Fix utest fail
This commit is contained in:
parent
272ca9d0f6
commit
faf53927e8
1 changed files with 4 additions and 0 deletions
|
@ -7741,6 +7741,10 @@ bool SrsConfig::get_https_api_enabled(SrsConfDirective* conf)
|
||||||
{
|
{
|
||||||
static bool DEFAULT = false;
|
static bool DEFAULT = false;
|
||||||
|
|
||||||
|
if (!conf) {
|
||||||
|
return DEFAULT;
|
||||||
|
}
|
||||||
|
|
||||||
conf = conf->get("enabled");
|
conf = conf->get("enabled");
|
||||||
if (!conf) {
|
if (!conf) {
|
||||||
return DEFAULT;
|
return DEFAULT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue