mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
zapit/src/getservices.cpp: bugfix, check satellite position when
adding transponder to satelliteTransponders
Origin commit data
------------------
Branch: ni/coolstream
Commit: cb692c0274
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-22 (Sun, 22 Apr 2012)
------------------
This commit was generated by Migit
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