Commit 28e891f0 authored by Tobias Hunger's avatar Tobias Hunger Committed by Brad King
Browse files

server-mode: Do not ignore the first cacheArgument on configure

SetCacheArgs skips the first argument it gets, so add some padding before
calling it.
parent db3499df
......@@ -923,7 +923,7 @@ cmServerResponse cmServerProtocol1_0::ProcessConfigure(
// Make sure the types of cacheArguments matches (if given):
std::vector<std::string> cacheArgs;
std::vector<std::string> cacheArgs = { "unused" };
bool cacheArgumentsError = false;
const Json::Value passedArgs = request.Data[kCACHE_ARGUMENTS_KEY];
if (!passedArgs.isNull()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment