dovecot-2.2: Compiler warning fix.

dovecot at dovecot.org dovecot at dovecot.org
Sun Feb 24 16:02:57 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/12f12add18d2
changeset: 15914:12f12add18d2
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Feb 24 15:26:53 2013 +0200
description:
Compiler warning fix.

diffstat:

 src/lib-storage/index/index-mail.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 2747055fc91b -r 12f12add18d2 src/lib-storage/index/index-mail.c
--- a/src/lib-storage/index/index-mail.c	Sun Feb 24 15:02:44 2013 +0200
+++ b/src/lib-storage/index/index-mail.c	Sun Feb 24 15:26:53 2013 +0200
@@ -822,8 +822,8 @@
 			/* EPIPE = input already closed. allow the caller to
 			   decide if that is an error or not. */
 			i_assert(!success ||
-				 i_stream_read(parser_input) == -1 &&
-				 !i_stream_have_bytes_left(parser_input));
+				 (i_stream_read(parser_input) == -1 &&
+				  !i_stream_have_bytes_left(parser_input)));
 		} else {
 			errno = parser_input->stream_errno;
 			mail_storage_set_critical(mail->mail.mail.box->storage,


More information about the dovecot-cvs mailing list