mirror of
https://bitbucket.org/King_DuckZ/keepupnpup.git
synced 2024-11-07 21:29:00 +00:00
Bugfix - desc was overwriting host
This commit is contained in:
parent
5bf52b3ad4
commit
7611e2ee44
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ namespace kuu {
|
|||
if (redirect_node["desc"]) {
|
||||
if (not redirect_node["desc"].IsScalar())
|
||||
throw std::runtime_error("\"desc\" node is not a scalar");
|
||||
redir_settings.host = redirect_node["desc"].as<std::string>();
|
||||
redir_settings.desc = redirect_node["desc"].as<std::string>();
|
||||
}
|
||||
|
||||
return redir_settings;
|
||||
|
|
Loading…
Reference in a new issue