0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Bugfix: ForceSetArg should replace entr(ies) in mapMultiArgs, not append

This commit is contained in:
Luke Dashjr 2017-01-03 20:33:55 +00:00
parent 23fb9adaea
commit 74e8738961

View file

@ -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);
}