diff --git a/I2PControl.cpp b/I2PControl.cpp index 9d2540ec..7a03ab86 100644 --- a/I2PControl.cpp +++ b/I2PControl.cpp @@ -144,8 +144,7 @@ namespace client { boost::property_tree::ptree ptr; for (auto& result: results) - ptr.put (result.first, result.second); - ptr.put (boost::property_tree::ptree::path_type ("xxx.yyy",'/'), "zzz"); + ptr.put (boost::property_tree::ptree::path_type (result.first, '/'), result.second); boost::property_tree::ptree pt; pt.put (I2P_CONTROL_PROPERTY_ID, id);