From eb90f6a56892d7f88df99e52300498d6780cacca Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Tue, 22 May 2012 22:31:19 -0700 Subject: [PATCH] Fix bug in 'F' mode for gzopen(). --- gzlib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gzlib.c b/gzlib.c index b021372..c10fabb 100644 --- a/gzlib.c +++ b/gzlib.c @@ -162,8 +162,10 @@ local gzFile gz_open(path, fd, mode) break; case 'F': state->strategy = Z_FIXED; + break; case 'T': state->direct = 1; + break; default: /* could consider as an error, but just ignore */ ; }