[dovecot-cvs] dovecot/src/imap namespace.c,1.19,1.20

tss at dovecot.org tss at dovecot.org
Fri Mar 30 16:40:23 EEST 2007


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv19658/imap

Modified Files:
	namespace.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: namespace.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/namespace.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- namespace.c	15 Dec 2006 23:50:45 -0000	1.19
+++ namespace.c	30 Mar 2007 13:40:20 -0000	1.20
@@ -72,8 +72,7 @@
 	ns->inbox = inbox;
 	ns->hidden = hidden;
 	ns->subscriptions = subscriptions;
-	ns->storage = mail_storage_create_with_data(data, user, flags,
-						    lock_method);
+	ns->storage = mail_storage_create(NULL, data, user, flags, lock_method);
 	if (ns->storage == NULL) {
 		i_fatal("Failed to create storage for '%s' with data: %s",
 			ns->prefix, data);
@@ -132,8 +131,7 @@
 	ns->prefix = "";
 
 	flags |= MAIL_STORAGE_FLAG_HAS_INBOX;
-	ns->storage = mail_storage_create_with_data(mail, user, flags,
-						    lock_method);
+	ns->storage = mail_storage_create(NULL, mail, user, flags, lock_method);
 	if (ns->storage == NULL) {
 		if (mail != NULL && *mail != '\0')
 			i_fatal("Failed to create storage with data: %s", mail);



More information about the dovecot-cvs mailing list