1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

put dot-separated params

This commit is contained in:
orignal 2015-01-09 11:12:22 -05:00
parent 4ce3817d28
commit 047f08b482

View File

@ -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);