Merge branch 'dvbsi++' of coolstreamtech.de:cst-public-gui-neutrino into dvbsi++

This commit is contained in:
[CST] Focus
2012-05-29 16:52:50 +04:00
15 changed files with 1030 additions and 564 deletions

View File

@@ -1166,14 +1166,12 @@ static void commandWriteSI2XML(int connfd, char *data, const unsigned dataLength
sendEmptyResponse(connfd, NULL, 0);
if ((!reader_ready) || (dataLength > 100)){
eventServer->sendEvent(CSectionsdClient::EVT_WRITE_SI_FINISHED, CEventServer::INITID_SECTIONSD);
return;
return;
}
char epgdir[100] = "";
strncpy(epgdir, data, dataLength);
epgdir[dataLength] = '\0';
data[dataLength] = '\0';
writeEventsToFile(epgdir);
writeEventsToFile(data);
eventServer->sendEvent(CSectionsdClient::EVT_WRITE_SI_FINISHED, CEventServer::INITID_SECTIONSD);
}