mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
Merge remote-tracking branch 'origin/fara' into roman
This commit is contained in:
@@ -27,10 +27,13 @@ void Server::readConfig(char *filename)
|
||||
|
||||
arr = parser.root->find("server")->second->getMapArray();
|
||||
it = arr->begin();
|
||||
ServerConfig *tmp;
|
||||
|
||||
while (it != arr->end())
|
||||
{
|
||||
_configs.push_back(new ServerConfig(*it));
|
||||
tmp = new ServerConfig(*it);
|
||||
_configs.push_back(tmp);
|
||||
tmp->fillFields();
|
||||
++it;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user