diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index 18f799fd3..97d057df8 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -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; } }