From 74e87389616ce1147c65f0e49f3d84b817693ac6 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Tue, 3 Jan 2017 20:33:55 +0000 Subject: [PATCH] Bugfix: ForceSetArg should replace entr(ies) in mapMultiArgs, not append --- src/util.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util.cpp b/src/util.cpp index 653a4f072..745c3e3bc 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -477,6 +477,7 @@ void ArgsManager::ForceSetArg(const std::string& strArg, const std::string& strV { LOCK(cs_args); mapArgs[strArg] = strValue; + mapMultiArgs[strArg].clear(); mapMultiArgs[strArg].push_back(strValue); }