From 81519de971129e5dfef02dcc0acb131c38b4fe05 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 28 Feb 2012 14:19:46 +0400 Subject: [PATCH] eitd/sectionsd.cpp: testing async commandserviceChanged --- src/eitd/sectionsd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index 90b75785e..47ffd7620 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -922,6 +922,8 @@ static void commandPauseScanning(int connfd, char *data, const unsigned dataLeng static void commandserviceChanged(int connfd, char *data, const unsigned dataLength) { t_channel_id uniqueServiceKey = 0; + + sendEmptyResponse(connfd, NULL, 0); if (dataLength != sizeof(sectionsd::commandSetServiceChanged)) goto out; @@ -973,7 +975,7 @@ xprintf("[sectionsd] commandserviceChanged: Service change to " PRINTF_CHANNEL_I dprintf("[sectionsd] commandserviceChanged: no change...\n"); out: - sendEmptyResponse(connfd, NULL, 0); + //sendEmptyResponse(connfd, NULL, 0); xprintf("[sectionsd] commandserviceChanged: Service changed to " PRINTF_CHANNEL_ID_TYPE "\n\n", uniqueServiceKey); }