dovecot-1.2: virtual: Fixed to work with recent changes.

dovecot at dovecot.org dovecot at dovecot.org
Mon Dec 8 18:44:35 EET 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/60080a56ebc7
changeset: 8524:60080a56ebc7
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Dec 08 18:44:31 2008 +0200
description:
virtual: Fixed to work with recent changes.

diffstat:

1 file changed, 3 insertions(+), 3 deletions(-)
src/plugins/virtual/virtual-storage.c |    6 +++---

diffs (23 lines):

diff -r 426b356a0708 -r 60080a56ebc7 src/plugins/virtual/virtual-storage.c
--- a/src/plugins/virtual/virtual-storage.c	Sat Dec 06 23:55:10 2008 +0200
+++ b/src/plugins/virtual/virtual-storage.c	Mon Dec 08 18:44:31 2008 +0200
@@ -127,8 +127,8 @@ static int virtual_create(struct mail_st
 				"Root mail directory doesn't exist: %s",
 				list_set.root_dir);
 		} else if (errno == EACCES) {
-			*error_r = mail_storage_eacces_msg("stat",
-							   list_set.root_dir);
+			*error_r = mail_error_eacces_msg("stat",
+							 list_set.root_dir);
 		} else {
 			*error_r = t_strdup_printf("stat(%s) failed: %m",
 						   list_set.root_dir);
@@ -322,7 +322,7 @@ virtual_mailbox_open(struct mail_storage
 			T_MAIL_ERR_MAILBOX_NOT_FOUND(name));
 	} else if (errno == EACCES) {
 		mail_storage_set_critical(_storage, "%s",
-			mail_storage_eacces_msg("stat", path));
+			mail_error_eacces_msg("stat", path));
 	} else {
 		mail_storage_set_critical(_storage, "stat(%s) failed: %m",
 					  path);


More information about the dovecot-cvs mailing list