From 10251814d59217082f77cf4f31f2d11e71954b44 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 14 Feb 2012 12:21:28 +0400 Subject: [PATCH] eitd/sectionsd.cpp: fix channels events when no channel list passed Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9e35cb9edeb1b818d61dcf4ad4d275990dddb5ca Author: [CST] Focus Date: 2012-02-14 (Tue, 14 Feb 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/eitd/sectionsd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }