eitd/sectionsd.cpp: fix channels events when no channel list passed

This commit is contained in:
[CST] Focus
2012-02-14 12:21:28 +04:00
parent 14cc02156c
commit 9e35cb9ede

View File

@@ -4511,7 +4511,7 @@ void sectionsd_getChannelEvents(CChannelEventList &eList, const bool tv_mode = t
break;
}
}
if(clen == (int) eList.size())
if(clen && (clen == (int) eList.size()))
break;
}
}