From: Jaroslav Kysela Date: Thu, 4 Jan 2018 15:04:40 +0000 (+0100) Subject: cclient: fix compilation error #2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee0d3bbe051946da2445eea8e352fa4112725a9c;p=thirdparty%2Ftvheadend.git cclient: fix compilation error #2 --- diff --git a/src/descrambler/cclient.c b/src/descrambler/cclient.c index 2540e050f..25ab4588a 100644 --- a/src/descrambler/cclient.c +++ b/src/descrambler/cclient.c @@ -591,7 +591,7 @@ cc_session(cclient_t *cc) if (r < 0) break; if (ev.ptr == &cc->cc_pipe) { - (void)read(cc->cc_pipe.rd, buf, sizeof(buf)); + len = read(cc->cc_pipe.rd, buf, sizeof(buf)); } else if (ev.ptr == &cc->cc_fd) { sbuf_alloc(&rbuf, 1024); len = sbuf_read(&rbuf, cc->cc_fd);