[dovecot-cvs] dovecot/src/plugins/expire expire-tool.c,1.2,1.3
tss at dovecot.org
tss at dovecot.org
Wed Dec 6 15:08:25 UTC 2006
Update of /var/lib/cvs/dovecot/src/plugins/expire
In directory talvi:/tmp/cvs-serv32161/plugins/expire
Modified Files:
expire-tool.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: expire-tool.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/expire/expire-tool.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- expire-tool.c 31 Jul 2006 00:44:08 -0000 1.2
+++ expire-tool.c 6 Dec 2006 15:08:23 -0000 1.3
@@ -2,6 +2,7 @@
#include "lib.h"
#include "ioloop.h"
+#include "file-lock.h"
#include "randgen.h"
#include "lib-signals.h"
#include "dict-client.h"
@@ -28,7 +29,7 @@
static int user_init(struct expire_context *ctx, const char *user)
{
enum mail_storage_flags flags;
- enum mail_storage_lock_method lock_method;
+ enum file_lock_method lock_method;
const char *mail_env;
int ret;
More information about the dovecot-cvs
mailing list