changeset 15914:12f12add18d2

Compiler warning fix.
author Timo Sirainen <tss@iki.fi>
date Sun, 24 Feb 2013 15:26:53 +0200
parents 2747055fc91b
children 514b8fc1e278
files src/lib-storage/index/index-mail.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,