[dovecot-cvs] dovecot/src/lib-index/mbox mbox-index.c,1.70,1.71

cras at procontrol.fi cras at procontrol.fi
Wed May 14 22:37:10 EEST 2003


Update of /home/cvs/dovecot/src/lib-index/mbox
In directory danu:/tmp/cvs-serv19258/lib-index/mbox

Modified Files:
	mbox-index.c 
Log Message:
mboxes were always selected read-only



Index: mbox-index.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mbox/mbox-index.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- mbox-index.c	8 May 2003 04:53:47 -0000	1.70
+++ mbox-index.c	14 May 2003 18:37:07 -0000	1.71
@@ -756,7 +756,7 @@
 
 	index->mbox_fd = -1;
 	index->mbox_sync_counter = (unsigned int)-1;
-	index->mailbox_readonly = access(index->mailbox_path, W_OK) < 0;
+	index->mailbox_readonly = access(mbox_path, W_OK) < 0;
 
 	index->mailbox_path = i_strdup(mbox_path);
 	mail_index_init(index, dir);



More information about the dovecot-cvs mailing list