dovecot-1.2: zlib plugin/bzip2 handling: Update stream's visible...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Aug 30 10:55:18 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/3a1e0970d053
changeset: 8120:3a1e0970d053
user: Timo Sirainen <tss at iki.fi>
date: Sat Aug 30 10:55:04 2008 +0300
description:
zlib plugin/bzip2 handling: Update stream's visible fd after changing it.
diffstat:
1 file changed, 1 insertion(+)
src/plugins/zlib/istream-zlib.c | 1 +
diffs (11 lines):
diff -r c96d9af856d1 -r 3a1e0970d053 src/plugins/zlib/istream-zlib.c
--- a/src/plugins/zlib/istream-zlib.c Sat Aug 30 10:28:50 2008 +0300
+++ b/src/plugins/zlib/istream-zlib.c Sat Aug 30 10:55:04 2008 +0300
@@ -137,6 +137,7 @@ i_stream_zlib_seek(struct istream_privat
}
gzclose(zstream->file);
zstream->fd = fd;
+ stream->fd = fd;
zstream->file = gzdopen(zstream->fd, "r");
}
#else
More information about the dovecot-cvs
mailing list