mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
zapit/src/getservices.cpp: bugfix, check satellite position when
adding transponder to satelliteTransponders
This commit is contained in:
@@ -1076,9 +1076,11 @@ void CServiceManager::UpdateSatTransponders(t_satellite_position satellitePositi
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret = stransponders.insert(transponder_pair_t(tI->first, tI->second));
|
if (tI->second.satellitePosition == satellitePosition) {
|
||||||
if (ret.second == false)
|
ret = stransponders.insert(transponder_pair_t(tI->first, tI->second));
|
||||||
tI->second.dump("[zapit] duplicate in sat transponders:");
|
if (ret.second == false)
|
||||||
|
tI->second.dump("[zapit] duplicate in sat transponders:");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user