From d7028811573bead02509c15eae252a235bb1065d Mon Sep 17 00:00:00 2001 From: satbaby Date: Mon, 2 Apr 2012 20:38:34 +0000 Subject: [PATCH] nhttpd:-fix standby info git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2172 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/nhttpd/tuxboxapi/coolstream/controlapi.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp index 0ae8be66b..7c37fdeef 100644 --- a/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/controlapi.cpp @@ -34,6 +34,7 @@ #include #include #include "gui/plugins.h"//for relodplugins +#include // 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"); }