mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
zapit/src/getservices.cpp: bugfix, check satellite position when
adding transponder to satelliteTransponders
Origin commit data
------------------
Commit: cb692c0274
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-22 (Sun, 22 Apr 2012)
This commit is contained in:
@@ -1076,9 +1076,11 @@ void CServiceManager::UpdateSatTransponders(t_satellite_position satellitePositi
|
||||
break;
|
||||
}
|
||||
}
|
||||
ret = stransponders.insert(transponder_pair_t(tI->first, tI->second));
|
||||
if (ret.second == false)
|
||||
tI->second.dump("[zapit] duplicate in sat transponders:");
|
||||
if (tI->second.satellitePosition == satellitePosition) {
|
||||
ret = stransponders.insert(transponder_pair_t(tI->first, tI->second));
|
||||
if (ret.second == false)
|
||||
tI->second.dump("[zapit] duplicate in sat transponders:");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user