Add support for boolean options to HTTP-based outputs
This commit is contained in:
parent
bc64ad647f
commit
b6f0b596b2
1 changed files with 2 additions and 0 deletions
|
@ -252,6 +252,8 @@ namespace Mist {
|
||||||
if (p[it.key()].asStringRef().size() > 0){
|
if (p[it.key()].asStringRef().size() > 0){
|
||||||
argarr[argnum++] = (char*)((*it)["option"].c_str());
|
argarr[argnum++] = (char*)((*it)["option"].c_str());
|
||||||
argarr[argnum++] = (char*)(p[it.key()].c_str());
|
argarr[argnum++] = (char*)(p[it.key()].c_str());
|
||||||
|
}else{
|
||||||
|
argarr[argnum++] = (char*)((*it)["option"].c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue