]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: otamux - quickfix for previous patch
authorJaroslav Kysela <perex@perex.cz>
Wed, 27 May 2015 13:55:01 +0000 (15:55 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 27 May 2015 13:55:01 +0000 (15:55 +0200)
src/epggrab/otamux.c

index 7623ea79ee777fe1595b5c45db361cc8e075603b..2d41445b65a2db8e43cadfefc718a578041e1270 100644 (file)
@@ -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);