From d30a1aa0505bf917ae072f99a572185535b05cff Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 23 Feb 2019 22:40:56 +0100 Subject: [PATCH] sectionsd: fix port of ac3918664dfcf29a07823b121f898126d1adfb9b Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d83f058dc49276ab3941e5480e4d47d348ee5ef2 Author: vanhofen Date: 2019-02-23 (Sat, 23 Feb 2019) Origin message was: ------------------ - sectionsd: fix port of ac3918664dfcf29a07823b121f898126d1adfb9b --- src/eitd/sectionsd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index 0db19c83f..746e12760 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -1274,9 +1274,9 @@ static void commandWriteSI2XML(int connfd, char *data, const unsigned dataLength data[dataLength] = '\0'; - xprintf("[sectionsd] writeEventsToFile started\n"); //NI + debug(DEBUG_INFO, "[sectionsd] writeEventsToFile started"); writeEventsToFile(data); - xprintf("[sectionsd] writeEventsToFile finished\n"); //NI + debug(DEBUG_INFO, "[sectionsd] writeEventsToFile finished\n"); eventServer->sendEvent(CSectionsdClient::EVT_WRITE_SI_FINISHED, CEventServer::INITID_SECTIONSD); } @@ -2131,7 +2131,7 @@ bool CSdtThread::addServices() /* helper function for the housekeeping-thread */ static void print_meminfo(void) { - if (!sections_debug >= DEBUG_DEBUG) + if (!(sections_debug >= DEBUG_DEBUG)) return; comp_malloc_stats(NULL);