getservices.cpp dont add to remove not existing channel

Origin commit data
------------------
Branch: ni/coolstream
Commit: b61acdb28c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-03-31 (Mon, 31 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2014-03-31 16:32:54 +02:00
parent 11ee1c8136
commit 85be0ed33e

View File

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