[dovecot-cvs] dovecot/src/pop3 main.c,1.52,1.53

tss at dovecot.org tss at dovecot.org
Wed Dec 6 15:08:25 UTC 2006


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv32161/pop3

Modified Files:
	main.c 
Log Message:
Lock handling changes. Everything goes through file-lock API now and there's
only a single enum listing the different lock methods. This change exposed
some unneeded (or possibly even wrong?) unlock calls in index file handling
which were fixed.



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- main.c	25 Nov 2006 22:18:37 -0000	1.52
+++ main.c	6 Dec 2006 15:08:22 -0000	1.53
@@ -2,6 +2,7 @@
 
 #include "common.h"
 #include "ioloop.h"
+#include "file-lock.h"
 #include "network.h"
 #include "lib-signals.h"
 #include "restrict-access.h"
@@ -157,7 +158,7 @@
 static int main_init(void)
 {
         enum mail_storage_flags flags;
-        enum mail_storage_lock_method lock_method;
+        enum file_lock_method lock_method;
 	struct mail_storage *storage;
 	const char *mail, *value;
 



More information about the dovecot-cvs mailing list