From 4efb45f0550153d51389cd59b0a5d2c262a9873f Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 10 Apr 2012 17:08:50 +0400 Subject: [PATCH] zapit/src/zapit.cpp: comment CZapitMessages::CMD_GET_LAST_CHANNEL --- src/zapit/src/zapit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index 181eff92b..56c29ea1e 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -807,10 +807,13 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd) } case CZapitMessages::CMD_GET_LAST_CHANNEL: { +#if 0 CZapitClient::responseGetLastChannel lastchannel; lastchannel.channel_id = (currentMode & RADIO_MODE) ? lastChannelRadio : lastChannelTV; lastchannel.mode = getMode(); CBasicServer::send_data(connfd, &lastchannel, sizeof(lastchannel)); // bouquet & channel number are already starting at 0! +#endif + ERROR("CZapitMessages::CMD_GET_LAST_CHANNEL: depreciated command\n"); break; }