[dovecot-cvs] dovecot/src/plugins/expire expire-tool.c,1.5,1.6
tss at dovecot.org
tss at dovecot.org
Fri Mar 30 16:40:28 EEST 2007
Update of /var/lib/cvs/dovecot/src/plugins/expire
In directory talvi:/tmp/cvs-serv19658/plugins/expire
Modified Files:
expire-tool.c
Log Message:
Removed mail_storage_create_with_data(). mail_storage_create() with
driver=NULL behaves the same way. Removed parameters from
mail_storage.create(), they're now put into the storage structure before
calling create().
Index: expire-tool.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/expire/expire-tool.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- expire-tool.c 8 Mar 2007 22:07:34 -0000 1.5
+++ expire-tool.c 30 Mar 2007 13:40:26 -0000 1.6
@@ -43,8 +43,8 @@
mail_env = getenv("MAIL");
mail_storage_parse_env(&flags, &lock_method);
- ctx->storage = mail_storage_create_with_data(mail_env, user,
- flags, lock_method);
+ ctx->storage = mail_storage_create(NULL, mail_env, user,
+ flags, lock_method);
if (ctx->storage == NULL) {
i_error("Failed to create storage for '%s' with mail '%s'",
user, mail_env == NULL ? "(null)" : mail_env);
More information about the dovecot-cvs
mailing list