[dovecot-cvs] dovecot/src/lib-storage mail-storage.c, 1.82, 1.83 mail-storage.h, 1.133, 1.134

tss at dovecot.org tss at dovecot.org
Sun May 13 19:13:51 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv19261/lib-storage

Modified Files:
	mail-storage.c mail-storage.h 
Log Message:
Removed mail_storage_set_list_error(). Handle the errors directly.



Index: mail-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- mail-storage.c	13 May 2007 15:46:08 -0000	1.82
+++ mail-storage.c	13 May 2007 16:13:48 -0000	1.83
@@ -266,17 +266,6 @@
 	storage->temporary_error = TRUE;
 }
 
-void mail_storage_set_list_error(struct mail_storage *storage)
-{
-	bool temp;
-
-	i_free(storage->error);
-	storage->error =
-		i_strdup(mailbox_list_get_last_error(storage->list, &temp));
-
-	storage->temporary_error = temp;
-}
-
 void mail_storage_set_critical(struct mail_storage *storage,
 			       const char *fmt, ...)
 {

Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- mail-storage.h	13 May 2007 15:55:20 -0000	1.133
+++ mail-storage.h	13 May 2007 16:13:48 -0000	1.134
@@ -213,7 +213,6 @@
 char mail_storage_get_hierarchy_sep(struct mail_storage *storage);
 struct mailbox_list *mail_storage_get_list(struct mail_storage *storage);
 struct mail_namespace *mail_storage_get_namespace(struct mail_storage *storage);
-void mail_storage_set_list_error(struct mail_storage *storage);
 
 /* Set storage callback functions to use. */
 void mail_storage_set_callbacks(struct mail_storage *storage,



More information about the dovecot-cvs mailing list