[dovecot-cvs] dovecot/src/pop3 main.c,1.61,1.62

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


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

Modified Files:
	main.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: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- main.c	17 Mar 2007 15:42:16 -0000	1.61
+++ main.c	30 Mar 2007 13:40:22 -0000	1.62
@@ -239,8 +239,8 @@
 			"%% variables.");
 
 	mail_storage_parse_env(&flags, &lock_method);
-	storage = mail_storage_create_with_data(mail, getenv("USER"),
-						flags, lock_method);
+	storage = mail_storage_create(NULL, mail, getenv("USER"),
+				      flags, lock_method);
 	if (storage == NULL) {
 		/* failed */
 		if (mail != NULL && *mail != '\0')



More information about the dovecot-cvs mailing list