]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Compiler warning fix.
authorTimo Sirainen <tss@iki.fi>
Sun, 24 Feb 2013 13:26:53 +0000 (15:26 +0200)
committerTimo Sirainen <tss@iki.fi>
Sun, 24 Feb 2013 13:26:53 +0000 (15:26 +0200)
src/lib-storage/index/index-mail.c

index 9e1ae7874c292b690cb9e105ffcf01ff1e3ec60f..efa71ab89dd184ce9c55658777daccde1a087e9a 100644 (file)
@@ -822,8 +822,8 @@ index_mail_parse_body_finish(struct index_mail *mail,
                        /* 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,