zapit/src/getservices.cpp: fix copy/paste

This commit is contained in:
[CST] Focus
2012-04-02 17:22:50 +04:00
parent 5f2e3fb22a
commit b0816af716

View File

@@ -901,7 +901,7 @@ bool CServiceManager::SaveCurrentServices(transponder_id_t tpid)
WriteCurrentService(fd, satfound, tpdone, updated, satstr, tI->second, cI->second, "add");
} else {
if(strcmp(cI->second.getName().c_str(), ccI->second.getName().c_str()) || cI->second.scrambled != ccI->second.scrambled) {
cI->second.number = cI->second.number;
cI->second.number = ccI->second.number;
WriteCurrentService(fd, satfound, tpdone, updated, satstr, tI->second, cI->second, "replace");
}
}