sectionsd: fix port of ac3918664dfcf29a07823b121f898126d1adfb9b

Origin commit data
------------------
Commit: d83f058dc4
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-02-23 (Sat, 23 Feb 2019)

Origin message was:
------------------
- sectionsd: fix port of ac3918664dfcf29a07823b121f898126d1adfb9b
This commit is contained in:
vanhofen
2019-02-23 22:40:56 +01:00
parent 2f5ceff912
commit d30a1aa050

View File

@@ -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);