zapit/src/zapit.cpp: comment CZapitMessages::CMD_GET_LAST_CHANNEL

This commit is contained in:
[CST] Focus
2012-04-10 17:08:50 +04:00
parent 4e60418750
commit 4efb45f055

View File

@@ -807,10 +807,13 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
} }
case CZapitMessages::CMD_GET_LAST_CHANNEL: { case CZapitMessages::CMD_GET_LAST_CHANNEL: {
#if 0
CZapitClient::responseGetLastChannel lastchannel; CZapitClient::responseGetLastChannel lastchannel;
lastchannel.channel_id = (currentMode & RADIO_MODE) ? lastChannelRadio : lastChannelTV; lastchannel.channel_id = (currentMode & RADIO_MODE) ? lastChannelRadio : lastChannelTV;
lastchannel.mode = getMode(); lastchannel.mode = getMode();
CBasicServer::send_data(connfd, &lastchannel, sizeof(lastchannel)); // bouquet & channel number are already starting at 0! 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; break;
} }