From 85be0ed33e122f521bcd78f3a79f8ad2f5af412f Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 31 Mar 2014 16:32:54 +0200 Subject: [PATCH] getservices.cpp dont add to remove not existing channel Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b61acdb28c210924e3ab1b1839d982402948d0de Author: Jacek Jendrzej Date: 2014-03-31 (Mon, 31 Mar 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/getservices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/getservices.cpp b/src/zapit/src/getservices.cpp index 134e3edb9..30c4a2047 100644 --- a/src/zapit/src/getservices.cpp +++ b/src/zapit/src/getservices.cpp @@ -1081,7 +1081,7 @@ bool CServiceManager::SaveCurrentServices(transponder_id_t tpid) } } for (ccI = allchans.begin(); ccI != allchans.end(); ++ccI) { - if(ccI->second.getTransponderId() == tpid) { + if(!(ccI->second.flags & CZapitChannel::NOT_FOUND) && (ccI->second.getTransponderId() == tpid)) { dI = curchans.find(ccI->second.getChannelID()); if(dI == curchans.end()) WriteCurrentService(fd, satfound, tpdone, updated, satstr, tI->second, ccI->second, "remove");