[dovecot-cvs] dovecot/src/plugins/acl acl-backend-vfile.c, 1.5.2.5, 1.5.2.6

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


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

Modified Files:
      Tag: branch_1_0
	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.5.2.5
retrieving revision 1.5.2.6
diff -u -d -r1.5.2.5 -r1.5.2.6
--- acl-backend-vfile.c	19 Jan 2007 21:59:10 -0000	1.5.2.5
+++ acl-backend-vfile.c	23 Jan 2007 11:41:47 -0000	1.5.2.6
@@ -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