dovecot-2.0: istream-base64-encoder: Set the stream seekable if ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Nov 15 19:40:15 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/3aced5ececd7
changeset: 12426:3aced5ececd7
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 15 17:40:12 2010 +0000
description:
istream-base64-encoder: Set the stream seekable if parent stream is seekable.

diffstat:

 src/lib/istream-base64-encoder.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 10c163bb5e22 -r 3aced5ececd7 src/lib/istream-base64-encoder.c
--- a/src/lib/istream-base64-encoder.c	Mon Nov 15 17:03:52 2010 +0000
+++ b/src/lib/istream-base64-encoder.c	Mon Nov 15 17:40:12 2010 +0000
@@ -168,7 +168,7 @@
 
 	bstream->istream.istream.readable_fd = FALSE;
 	bstream->istream.istream.blocking = input->blocking;
-	bstream->istream.istream.seekable = FALSE;
+	bstream->istream.istream.seekable = input->seekable;
 	return i_stream_create(&bstream->istream, input,
 			       i_stream_get_fd(input));
 }


More information about the dovecot-cvs mailing list