Fix bug in 'F' mode for gzopen().

This commit is contained in:
Mark Adler 2012-05-22 22:31:19 -07:00
parent 0a2c92bc66
commit eb90f6a568

View File

@ -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 */
;
}