From a4e944ac060b6d6d65dba9c40c6ec692d8214b9e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 26 Dec 2019 23:53:50 +0100 Subject: [PATCH] controlapi: remove commented code Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/812f921bde621b663927f7509413121392667c3e Author: vanhofen Date: 2019-12-26 (Thu, 26 Dec 2019) Origin message was: ------------------ - controlapi: remove commented code ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/nhttpd/tuxboxapi/controlapi.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/nhttpd/tuxboxapi/controlapi.cpp b/src/nhttpd/tuxboxapi/controlapi.cpp index e08f539c0..8c1bac118 100644 --- a/src/nhttpd/tuxboxapi/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/controlapi.cpp @@ -2169,15 +2169,10 @@ void CControlAPI::ScreenshotCGI(CyhookHandler *hh) if(screenshot){ screenshot->EnableOSD(enableOSD); screenshot->EnableVideo(enableVideo); -#if 0 - screenshot->Start(); - hh->SendOk(); // FIXME what if screenshot->Start() failed? -#else if (screenshot->StartSync()) hh->SendOk(); else hh->SendError(); -#endif delete screenshot; } }