dovecot-2.0: zlib: Fixed istream-zlib when using seeking with ma...

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 1 19:06:30 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/ab24859c3527
changeset: 12222:ab24859c3527
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 01 17:06:27 2010 +0100
description:
zlib: Fixed istream-zlib when using seeking with mark=TRUE (i.e. mbox)

diffstat:

 src/plugins/zlib/istream-zlib.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (15 lines):

diff -r c172f2a384f5 -r ab24859c3527 src/plugins/zlib/istream-zlib.c
--- a/src/plugins/zlib/istream-zlib.c	Fri Oct 01 16:39:11 2010 +0100
+++ b/src/plugins/zlib/istream-zlib.c	Fri Oct 01 17:06:27 2010 +0100
@@ -403,10 +403,8 @@
 		}
 	}
 
-	if (mark) {
-		i_stream_compress(stream);
+	if (mark)
 		zstream->marked = TRUE;
-	}
 }
 
 static const struct stat *


More information about the dovecot-cvs mailing list