From: Jaroslav Kysela Date: Thu, 12 Nov 2015 18:10:04 +0000 (+0100) Subject: download: compilation fixes X-Git-Tag: v4.2.1~1562 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f815be121c331f9253afa08bcc75512807af8133;p=thirdparty%2Ftvheadend.git download: compilation fixes --- diff --git a/src/download.c b/src/download.c index b9aa9450d..b849fff11 100644 --- a/src/download.c +++ b/src/download.c @@ -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; }