]> git.lizzy.rs Git - zlib.git/commitdiff
Correct error in comment for gz_make().
authorMark Adler <madler@alumni.caltech.edu>
Sat, 24 Sep 2011 15:33:38 +0000 (08:33 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Sat, 24 Sep 2011 15:33:38 +0000 (08:33 -0700)
gzread.c

index 695d01d9f085d61016ff0996d0e1aac5533d6a04..8fc2915d5e076e60ba2d2b1878a4ed897aa7a27d 100644 (file)
--- a/gzread.c
+++ b/gzread.c
@@ -298,7 +298,7 @@ local int gz_decomp(state)
    Data is either copied from the input file or decompressed from the input
    file depending on state->how.  If state->how is LOOK, then a gzip header is
    looked for (and skipped if found) to discern whether to copy or decompress.
-   Returns -1 on error, otherwise 0.  gz_make() will leave state->have as COPY
+   Returns -1 on error, otherwise 0.  gz_make() will leave state->how as COPY
    or GZIP unless the end of the input file has been reached and all data has
    been processed.  */
 local int gz_make(state)