diff src/lib-index/mail-index.c @ 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 94b3363165c8
children cd3d26cf124a
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;
 		}
 	}