diff options
Diffstat (limited to 'p2pvr/daemon/si.cpp')
-rw-r--r-- | p2pvr/daemon/si.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2pvr/daemon/si.cpp b/p2pvr/daemon/si.cpp index 3259888..571c6b0 100644 --- a/p2pvr/daemon/si.cpp +++ b/p2pvr/daemon/si.cpp @@ -65,7 +65,7 @@ SI::GetDeliveryForSi(const Ice::Current&) P2PVR::Deliveries rtn; SqlContainerCreator<P2PVR::Deliveries, DVBSI::TerrestrialDelivery> cct(rtn); cct.populate(Select(SI_serviceNextUsed).second); - return rtn.front(); + return rtn.empty() ? DVBSI::DeliveryPtr() : rtn.front(); } DVBSI::DeliveryPtr |