From 047f08b482ad1484b3fd3f2e23240f1b1ae59f53 Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 9 Jan 2015 11:12:22 -0500 Subject: [PATCH] put dot-separated params --- I2PControl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);