diff --git a/main.cpp b/main.cpp index 421def7b..61a7e7d4 100644 --- a/main.cpp +++ b/main.cpp @@ -610,6 +610,8 @@ STREAM *streamfdopen(int fd, const char *mode, std::string const &fname) { STREAM *streamfpopen(FILE *fp) { STREAM *s = new STREAM; s->fp = fp; + s->gz = false; + return s; }