From: Jaroslav Kysela Date: Wed, 27 May 2015 14:42:11 +0000 (+0200) Subject: epggrab: otamux - quickfix for previous patch #2 X-Git-Tag: v4.2.1~2443 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1abfaaea864252f990a974561f6b0dcf78d1298e;p=thirdparty%2Ftvheadend.git epggrab: otamux - quickfix for previous patch #2 --- diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c index 2d41445b6..8b89b1dc4 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 && !save)) + if (svcl == NULL || (!epggrab_ota_running && save)) return; epggrab_ota_service_trace(ota, svcl, "delete"); RB_REMOVE(&map->om_svcs, svcl, link);