nhttpd/tuxboxapi/coolstream/controlapi.cpp: wakeup zapit before neutrino,

to be sure zapit will process any next commands
This commit is contained in:
[CST] Focus
2013-09-27 15:51:08 +04:00
parent 550ca1dedb
commit d26bc23f6b

View File

@@ -433,6 +433,7 @@ void CControlAPI::StandbyCGI(CyhookHandler *hh)
} }
else if (hh->ParamList["1"] == "off")// standby mode off else if (hh->ParamList["1"] == "off")// standby mode off
{ {
NeutrinoAPI->Zapit->setStandby(false);
if(CNeutrinoApp::getInstance()->getMode() == 4) if(CNeutrinoApp::getInstance()->getMode() == 4)
NeutrinoAPI->EventServer->sendEvent(NeutrinoMessages::STANDBY_OFF, CEventServer::INITID_HTTPD); NeutrinoAPI->EventServer->sendEvent(NeutrinoMessages::STANDBY_OFF, CEventServer::INITID_HTTPD);
hh->SendOk(); hh->SendOk();