1
0
Fork 0
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:
King_DuckZ 2016-09-13 02:46:25 +02:00
parent 5bf52b3ad4
commit 7611e2ee44

View file

@ -68,7 +68,7 @@ namespace kuu {
if (redirect_node["desc"]) { if (redirect_node["desc"]) {
if (not redirect_node["desc"].IsScalar()) if (not redirect_node["desc"].IsScalar())
throw std::runtime_error("\"desc\" node is not a scalar"); 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; return redir_settings;