summaryrefslogtreecommitdiff
path: root/gzio.c
diff options
context:
space:
mode:
Diffstat (limited to 'gzio.c')
-rw-r--r--gzio.c8
1 files changed, 4 insertions, 4 deletions
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)
455 s->z_err = Z_ERRNO; 455 s->z_err = Z_ERRNO;
456 break; 456 break;
457 } 457 }
458 if (feof(s->file)) { /* avoid error for empty file */ 458 if (feof(s->file)) { /* avoid error for empty file */
459 s->z_err = Z_STREAM_END; 459 s->z_err = Z_STREAM_END;
460 break; 460 break;
461 } 461 }
462 } 462 }
463 s->stream.next_in = s->inbuf; 463 s->stream.next_in = s->inbuf;
464 } 464 }