nhttpd:-fix standby info

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2172 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: d702881157
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-04-02 (Mon, 02 Apr 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-04-02 20:38:34 +00:00
parent ba05eeefdd
commit 863b2bb179

View File

@@ -34,6 +34,7 @@
#include <cs_api.h>
#include <global.h>
#include "gui/plugins.h"//for relodplugins
#include <neutrino.h>
// yhttpd
#include "yhttpd.h"
#include "ytypes_globals.h"
@@ -440,11 +441,9 @@ void CControlAPI::StandbyCGI(CyhookHandler *hh)
hh->SendError();
}
else
#if HAVE_DBOX2 // FIXME: not implemented
if(NeutrinoAPI->Controld->getVideoPowerDown())
if(CNeutrinoApp::getInstance()->getMode() == 4)//mode_standby = 4
hh->WriteLn("on");
else
#endif
hh->WriteLn("off");
}