diff --git a/src/compress.c b/src/compress.c index 2b05352..ccb1cfd 100644 --- a/src/compress.c +++ b/src/compress.c @@ -183,7 +183,7 @@ sread(int fd, void *buf, size_t n, int canbepipe __attribute__ ((unused))) goto nocheck; #ifdef FIONREAD - if ((canbepipe && (ioctl(fd, FIONREAD, &t) == -1)) || (t == 0)) { + if (canbepipe && ((ioctl(fd, FIONREAD, &t) == -1) || (t == 0))) { #ifdef FD_ZERO for (cnt = 0;; cnt++) { fd_set check;