]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
download: compilation fixes
authorJaroslav Kysela <perex@perex.cz>
Thu, 12 Nov 2015 18:10:04 +0000 (19:10 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 12 Nov 2015 18:10:04 +0000 (19:10 +0100)
src/download.c

index b9aa9450d129a73ab536f926ac8845de57b55057..b849fff112712e7e2ff8146c0454853ace4e263e 100644 (file)
@@ -232,7 +232,7 @@ download_pipe(download_t *dn, const char *args)
   /* Arguments */
   if (spawn_parse_args(&argv, 64, args, NULL)) {
     tvherror(dn->log, "pipe: unable to parse arguments (%s)", args);
-    return NULL;
+    return -1;
   }
 
   /* Grab */
@@ -243,7 +243,7 @@ download_pipe(download_t *dn, const char *args)
   if (r < 0) {
     dn->pipe_fd = -1;
     dn->pipe_pid = 0;
-    tvherror(LOG_ERR, dn->log, "pipe: cannot start (%s)", args);
+    tvherror(dn->log, "pipe: cannot start (%s)", args);
     return -1;
   }