You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
445 B
14 lines
445 B
6 years ago
|
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;
|