[dovecot-cvs] dovecot/src/plugins/acl acl-backend-vfile.c, 1.13, 1.14

tss at dovecot.org tss at dovecot.org
Tue Jan 23 11:41:52 UTC 2007


Update of /var/lib/cvs/dovecot/src/plugins/acl
In directory talvi:/tmp/cvs-serv4901

Modified Files:
	acl-backend-vfile.c 
Log Message:
If control_dir wasn't specified, we complained about ACL file existing in
it.



Index: acl-backend-vfile.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/acl/acl-backend-vfile.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- acl-backend-vfile.c	19 Jan 2007 21:59:12 -0000	1.13
+++ acl-backend-vfile.c	23 Jan 2007 11:41:50 -0000	1.14
@@ -118,7 +118,7 @@
 	if (is_file) {
 		/* use control directory with mboxes */
 		dir = control_dir;
-	} else {
+	} else if (strcmp(control_dir, dir) != 0) {
 		/* FIXME: this is only for making sure people won't upgrade
 		   improperly. remove this check some day. */
 		const char *path;



More information about the dovecot-cvs mailing list