Skip to content

Commit

Permalink
lib-fs: istream-metawrap can't have a readable fd currently
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed May 19, 2016
1 parent 06bd6c4 commit 81f0bc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib-fs/istream-metawrap.c
Expand Up @@ -132,7 +132,9 @@ i_stream_create_metawrap(struct istream *input,
mstream->istream.seek = i_stream_metawrap_seek;
mstream->istream.stat = input->seekable ? i_stream_metawrap_stat : NULL;

mstream->istream.istream.readable_fd = input->readable_fd;
/* we can't set abs_start_offset early enough so that it would get
passed to our child istreams. */
mstream->istream.istream.readable_fd = FALSE;
mstream->istream.istream.blocking = input->blocking;
mstream->istream.istream.seekable = input->seekable;
mstream->in_metadata = TRUE;
Expand Down

0 comments on commit 81f0bc1

Please sign in to comment.