Further fixes to HTTP.

This commit is contained in:
Thulinma 2014-11-07 21:07:19 +01:00
parent 9b499354ee
commit 455bce2c34
2 changed files with 2 additions and 3 deletions

View file

@ -286,9 +286,9 @@ namespace Mist {
JSON::Value pipedCapa = DTSC::Scan(serverCfg.mapped, serverCfg.len).getMember("capabilities").getMember("connectors").getMember(connector).asJSON();
configLock.post();
configLock.close();
argarr[argnum++] = (char*)"-i";
argarr[argnum++] = (char*)"--ip";
argarr[argnum++] = (char*)(temphost.c_str());
argarr[argnum++] = (char*)"-s";
argarr[argnum++] = (char*)"--stream";
argarr[argnum++] = (char*)(streamName.c_str());
//set the debug level if non-default
if (Util::Config::printDebugLevel != DEBUG){

View file

@ -16,7 +16,6 @@ namespace Mist {
OutHTTP::~OutHTTP() {}
bool OutHTTP::listenMode(){
INFO_MSG("Listen mode: %s", config->getString("ip").c_str());
return !(config->getString("ip").size());
}