Browse Source

put dot-separated params

pull/147/head
orignal 10 years ago
parent
commit
047f08b482
  1. 3
      I2PControl.cpp

3
I2PControl.cpp

@ -144,8 +144,7 @@ namespace client @@ -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);

Loading…
Cancel
Save