mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
eitd: change SIevents type to vector - no need to sort this temp list
Origin commit data
------------------
Branch: ni/coolstream
Commit: a4a3d20667
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-06-05 (Tue, 05 Jun 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1548,7 +1548,7 @@ bool CEventsThread::addEvents()
|
||||
dprintf("[%s] adding %d events (begin)\n", name.c_str(), eit.events().size());
|
||||
time_t zeit = time(NULL);
|
||||
|
||||
for (SIevents::iterator e = eit.events().begin(); e != eit.events().end(); ++e) {
|
||||
for (SIevents::const_iterator e = eit.events().begin(); e != eit.events().end(); ++e) {
|
||||
if (!(e->times.empty())) {
|
||||
if ( ( e->times.begin()->startzeit < zeit + secondsToCache ) &&
|
||||
( ( e->times.begin()->startzeit + (long)e->times.begin()->dauer ) > zeit - oldEventsAre ) )
|
||||
|
Reference in New Issue
Block a user