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

pull/19/head
Mark Adler 13 years ago
parent 0a2c92bc66
commit eb90f6a568
  1. 2
      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 */
;
}

Loading…
Cancel
Save