From: Jaroslav Kysela Date: Wed, 27 May 2015 13:55:01 +0000 (+0200) Subject: epggrab: otamux - quickfix for previous patch X-Git-Tag: v4.2.1~2444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e64263106dc5333905864d586c13c6e79c2d649;p=thirdparty%2Ftvheadend.git epggrab: otamux - quickfix for previous patch --- diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c index 7623ea79e..2d41445b6 100644 --- a/src/epggrab/otamux.c +++ b/src/epggrab/otamux.c @@ -690,7 +690,7 @@ void epggrab_ota_service_del ( epggrab_ota_map_t *map, epggrab_ota_mux_t *ota, epggrab_ota_svc_link_t *svcl, int save ) { - if (svcl == NULL || !epggrab_ota_running) + if (svcl == NULL || (!epggrab_ota_running && !save)) return; epggrab_ota_service_trace(ota, svcl, "delete"); RB_REMOVE(&map->om_svcs, svcl, link);