dovecot-2.1: mailbox list index: Minor code cleanup.

dovecot at dovecot.org dovecot at dovecot.org
Sun Oct 2 15:55:02 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/967ad9ad37ff
changeset: 13576:967ad9ad37ff
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Oct 02 15:39:45 2011 +0300
description:
mailbox list index: Minor code cleanup.

diffstat:

 src/lib-storage/list/index-mailbox-list-status.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r a418589173c8 -r 967ad9ad37ff src/lib-storage/list/index-mailbox-list-status.c
--- a/src/lib-storage/list/index-mailbox-list-status.c	Sat Oct 01 17:55:18 2011 +0300
+++ b/src/lib-storage/list/index-mailbox-list-status.c	Sun Oct 02 15:39:45 2011 +0300
@@ -130,7 +130,8 @@
 	if (ret <= 0)
 		return ret;
 
-	ret = index_list_get_view_status(box, view, seq, items, status_r, NULL);
+	ret = index_list_get_view_status(box, view, seq, items,
+					 status_r, NULL) ? 1 : 0;
 	mail_index_view_close(&view);
 	return ret;
 }


More information about the dovecot-cvs mailing list