changeset 4067:96ae9c096bde HEAD

mail_index_open(): If index is already open, return 1 instead of 0 so the caller won't think it failed..
author Timo Sirainen <tss@iki.fi>
date Sat, 25 Feb 2006 12:19:18 +0200
parents 30ad1815cf1e
children 1f319d46f0dd
files src/lib-index/mail-index.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index.c	Sat Feb 25 11:24:46 2006 +0200
+++ b/src/lib-index/mail-index.c	Sat Feb 25 12:19:18 2006 +0200
@@ -1489,7 +1489,7 @@
 			/* corrupted, reopen files */
                         mail_index_close(index);
 		} else {
-			return 0;
+			return 1;
 		}
 	}