From f1a95e33401f0bfbf022acda69870dc8bd06d2a7 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 21 Jul 2015 11:45:17 +0200 Subject: [PATCH] Fix incorrect filename in ApiListener::SyncZoneDir refs #9083 --- lib/remote/apilistener-sync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/apilistener-sync.cpp b/lib/remote/apilistener-sync.cpp index 7bca5731c..34df3f70f 100644 --- a/lib/remote/apilistener-sync.cpp +++ b/lib/remote/apilistener-sync.cpp @@ -128,7 +128,7 @@ void ApiListener::SyncZoneDir(const Zone::Ptr& zone) const ObjectLock olock(newConfigPart); BOOST_FOREACH(const Dictionary::Pair& kv, newConfigPart) { - newConfig->Set(zf.Tag + "/" + kv.first, kv.second); + newConfig->Set("/" + zf.Tag + kv.first, kv.second); } } -- 2.40.0