1
0
Fork 0
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:
winlin 2017-06-11 14:03:19 +08:00
parent 860aac3e50
commit b5c14938d9
13 changed files with 267 additions and 353 deletions

View file

@ -33,9 +33,9 @@ ISrsLog::~ISrsLog()
{
}
int ISrsLog::initialize()
srs_error_t ISrsLog::initialize()
{
return ERROR_SUCCESS;
return srs_success;
}
void ISrsLog::reopen()

View file

@ -65,7 +65,7 @@ public:
/**
* initialize log utilities.
*/
virtual int initialize();
virtual srs_error_t initialize();
/**
* reopen the log file for log rotate.
*/