Browse Source

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

0.15
Luke Dashjr 8 years ago
parent
commit
74e8738961
  1. 1
      src/util.cpp

1
src/util.cpp

@ -477,6 +477,7 @@ void ArgsManager::ForceSetArg(const std::string& strArg, const std::string& strV
{ {
LOCK(cs_args); LOCK(cs_args);
mapArgs[strArg] = strValue; mapArgs[strArg] = strValue;
mapMultiArgs[strArg].clear();
mapMultiArgs[strArg].push_back(strValue); mapMultiArgs[strArg].push_back(strValue);
} }

Loading…
Cancel
Save