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:
[CST] Focus
2012-06-05 20:18:48 +04:00
parent ebb4bc8a57
commit d736f03247
3 changed files with 7 additions and 4 deletions

View File

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