]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb: minor fix for the previous patch
authorJaroslav Kysela <perex@perex.cz>
Mon, 13 Mar 2017 14:46:14 +0000 (15:46 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 13 Mar 2017 14:46:14 +0000 (15:46 +0100)
src/input/mpegts/linuxdvb/linuxdvb_frontend.c

index 61d24f50b087033a1e563bd06334a47723c2c194..035f7dd032ff85adbb6335b8865d40d4c4244b64 100644 (file)
@@ -432,8 +432,10 @@ linuxdvb_frontend_open_fd ( linuxdvb_frontend_t *lfe, const char *name )
     }
   }
 
-  if (lfe->lfe_fe_fd <= 0)
+  if (lfe->lfe_fe_fd <= 0) {
     lfe->lfe_fe_fd = tvh_open(lfe->lfe_fe_path, O_RDWR | O_NONBLOCK, 0);
+    extra = "";
+  }
 
   tvhtrace(LS_LINUXDVB, "%s - opening FE %s (%d)%s",
            name, lfe->lfe_fe_path, lfe->lfe_fe_fd, extra);