Further fixes to HTTP.
This commit is contained in:
parent
9b499354ee
commit
455bce2c34
2 changed files with 2 additions and 3 deletions
|
@ -286,9 +286,9 @@ namespace Mist {
|
||||||
JSON::Value pipedCapa = DTSC::Scan(serverCfg.mapped, serverCfg.len).getMember("capabilities").getMember("connectors").getMember(connector).asJSON();
|
JSON::Value pipedCapa = DTSC::Scan(serverCfg.mapped, serverCfg.len).getMember("capabilities").getMember("connectors").getMember(connector).asJSON();
|
||||||
configLock.post();
|
configLock.post();
|
||||||
configLock.close();
|
configLock.close();
|
||||||
argarr[argnum++] = (char*)"-i";
|
argarr[argnum++] = (char*)"--ip";
|
||||||
argarr[argnum++] = (char*)(temphost.c_str());
|
argarr[argnum++] = (char*)(temphost.c_str());
|
||||||
argarr[argnum++] = (char*)"-s";
|
argarr[argnum++] = (char*)"--stream";
|
||||||
argarr[argnum++] = (char*)(streamName.c_str());
|
argarr[argnum++] = (char*)(streamName.c_str());
|
||||||
//set the debug level if non-default
|
//set the debug level if non-default
|
||||||
if (Util::Config::printDebugLevel != DEBUG){
|
if (Util::Config::printDebugLevel != DEBUG){
|
||||||
|
|
|
@ -16,7 +16,6 @@ namespace Mist {
|
||||||
OutHTTP::~OutHTTP() {}
|
OutHTTP::~OutHTTP() {}
|
||||||
|
|
||||||
bool OutHTTP::listenMode(){
|
bool OutHTTP::listenMode(){
|
||||||
INFO_MSG("Listen mode: %s", config->getString("ip").c_str());
|
|
||||||
return !(config->getString("ip").size());
|
return !(config->getString("ip").size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue