mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
fix the build failed bug
This commit is contained in:
parent
256459e1ec
commit
087f7740b7
3 changed files with 5 additions and 2 deletions
|
@ -605,7 +605,7 @@ function apply_user_presets() {
|
|||
SRS_HTTP_API=YES
|
||||
SRS_LIBRTMP=YES
|
||||
SRS_RESEARCH=NO
|
||||
SRS_UTEST=NO
|
||||
SRS_UTEST=YES
|
||||
SRS_GPERF=NO
|
||||
SRS_GPERF_MC=NO
|
||||
SRS_GPERF_MP=NO
|
||||
|
|
|
@ -436,7 +436,6 @@ SrsConfDirective* SrsConfDirective::copy()
|
|||
cp->conf_line = conf_line;
|
||||
cp->name = name;
|
||||
cp->args = args;
|
||||
cp->create_time = create_time;
|
||||
|
||||
for (int i = 0; i < (int)directives.size(); i++) {
|
||||
SrsConfDirective* directive = directives.at(i);
|
||||
|
|
|
@ -189,6 +189,10 @@ private:
|
|||
* 3. if ret flag indicates there are child-directives, read_conf(directive, block) recursively.
|
||||
*/
|
||||
virtual int parse_conf(_srs_internal::SrsConfigBuffer* buffer, SrsDirectiveType type);
|
||||
/**
|
||||
* deep copy the directive.
|
||||
*/
|
||||
virtual SrsConfDirective* copy();
|
||||
/**
|
||||
* read a token from buffer.
|
||||
* a token, is the directive args and a flag indicates whether has child-directives.
|
||||
|
|
Loading…
Reference in a new issue