Fixed MistInBuffer compile
This commit is contained in:
parent
385cfcb761
commit
c434d792c4
1 changed files with 2 additions and 2 deletions
|
@ -751,11 +751,11 @@ namespace Mist{
|
||||||
argarr[0] = (char *)procname.c_str();
|
argarr[0] = (char *)procname.c_str();
|
||||||
argarr[1] = (char *)config.c_str();
|
argarr[1] = (char *)config.c_str();
|
||||||
argarr[2] = 0;
|
argarr[2] = 0;
|
||||||
if (Util::Config::printDebugLevel != DEBUG || args.isMember("debug")){
|
if (Util::printDebugLevel != DEBUG || args.isMember("debug")){
|
||||||
if (args.isMember("debug")){
|
if (args.isMember("debug")){
|
||||||
debugLvl = args["debug"].asString();
|
debugLvl = args["debug"].asString();
|
||||||
}else{
|
}else{
|
||||||
debugLvl = JSON::Value(Util::Config::printDebugLevel).asString();
|
debugLvl = JSON::Value(Util::printDebugLevel).asString();
|
||||||
}
|
}
|
||||||
argarr[2] = (char*)"--debug";
|
argarr[2] = (char*)"--debug";
|
||||||
argarr[3] = (char*)debugLvl.c_str();;
|
argarr[3] = (char*)debugLvl.c_str();;
|
||||||
|
|
Loading…
Add table
Reference in a new issue