mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
put dot-separated params
This commit is contained in:
parent
4ce3817d28
commit
047f08b482
|
@ -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…
Reference in a new issue