From 79fbcdc939b5d515218187a0d5f2526fb632075a Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:24:02 -0700 Subject: zlib 1.2.2 --- gzio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gzio.c') diff --git a/gzio.c b/gzio.c index 0ceafff..5e71b0a 100644 --- a/gzio.c +++ b/gzio.c @@ -455,10 +455,10 @@ int ZEXPORT gzread (file, buf, len) s->z_err = Z_ERRNO; break; } - if (feof(s->file)) { /* avoid error for empty file */ - s->z_err = Z_STREAM_END; - break; - } + if (feof(s->file)) { /* avoid error for empty file */ + s->z_err = Z_STREAM_END; + break; + } } s->stream.next_in = s->inbuf; } -- cgit v1.2.3-55-g6feb