]> git.lizzy.rs Git - zlib.git/blobdiff - gzio.c
zlib 1.2.2
[zlib.git] / gzio.c
diff --git a/gzio.c b/gzio.c
index 0ceafff8b691d77acfcdd0d32774c7a2fa1df10d..5e71b0ab3ae892c0c68cf8337567b897a6e35b93 100644 (file)
--- 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;
         }