mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code, move the order of functions.
This commit is contained in:
parent
71f2726b31
commit
65b2ed7ac5
4 changed files with 514 additions and 513 deletions
|
@ -293,7 +293,8 @@ int SrsIngester::parse()
|
|||
int ret = ERROR_SUCCESS;
|
||||
|
||||
// parse ingesters
|
||||
std::vector<SrsConfDirective*> vhosts = _srs_config->get_vhosts();
|
||||
std::vector<SrsConfDirective*> vhosts;
|
||||
_srs_config->get_vhosts(vhosts);
|
||||
|
||||
for (int i = 0; i < (int)vhosts.size(); i++) {
|
||||
SrsConfDirective* vhost = vhosts[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue