dovecot-2.0: istream-base64-encoder: Fixed seeking to beginning ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Nov 15 18:22:15 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/b1d946388d9b
changeset: 12419:b1d946388d9b
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 15 16:21:45 2010 +0000
description:
istream-base64-encoder: Fixed seeking to beginning of stream.

diffstat:

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

diffs (11 lines):

diff -r 3f19e7e43506 -r b1d946388d9b src/lib/istream-base64-encoder.c
--- a/src/lib/istream-base64-encoder.c	Mon Nov 15 16:06:58 2010 +0000
+++ b/src/lib/istream-base64-encoder.c	Mon Nov 15 16:21:45 2010 +0000
@@ -143,6 +143,7 @@
 		stream->skip = stream->pos = 0;
 		stream->istream.v_offset = 0;
 		bstream->cur_line_len = 0;
+		i_stream_seek(stream->parent, 0);
 	}
 	i_stream_default_seek(stream, v_offset, mark);
 }


More information about the dovecot-cvs mailing list