mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #913, config and log support complex error.
This commit is contained in:
parent
860aac3e50
commit
b5c14938d9
13 changed files with 267 additions and 353 deletions
|
@ -68,10 +68,8 @@ SrsFastLog::~SrsFastLog()
|
|||
}
|
||||
}
|
||||
|
||||
int SrsFastLog::initialize()
|
||||
srs_error_t SrsFastLog::initialize()
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
if (_srs_config) {
|
||||
_srs_config->subscribe(this);
|
||||
|
||||
|
@ -80,7 +78,7 @@ int SrsFastLog::initialize()
|
|||
utc = _srs_config->get_utc_time();
|
||||
}
|
||||
|
||||
return ret;
|
||||
return srs_success;
|
||||
}
|
||||
|
||||
void SrsFastLog::reopen()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue