fix build after last merge

Origin commit data
------------------
Branch: ni/coolstream
Commit: a28e42adc2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-14 (Sun, 14 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-10-14 12:57:01 +02:00
parent a603ec74af
commit 3f6d77a012
2 changed files with 5 additions and 0 deletions

View File

@@ -1760,11 +1760,14 @@ void CNeutrinoApp::InitZapitClient()
void CNeutrinoApp::InitSectiondClient()
{
#if 0
/* TODO: check if still needed */
/* wait for sectionsd to be able to process our registration */
time_t t = time_monotonic_ms();
while (! sectionsd_isReady())
sleep(0);
dprintf(DEBUG_NORMAL, "had to wait %ld ms for sectionsd to start up\n", time_monotonic_ms() - t);
#endif
g_Sectionsd = new CSectionsdClient;
g_Sectionsd->registerEvent(CSectionsdClient::EVT_TIMESET, 222, NEUTRINO_UDS_NAME);
g_Sectionsd->registerEvent(CSectionsdClient::EVT_GOT_CN_EPG, 222, NEUTRINO_UDS_NAME);