[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.145.2.3, 1.145.2.4

tss at dovecot.org tss at dovecot.org
Tue Oct 17 12:03:11 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv27662/src/lib-storage/index/mbox

Modified Files:
      Tag: branch_1_0
	mbox-storage.c 
Log Message:
Use the name "mail root directory" to describe where the non-INBOX mbox
mailboxes are and describe what it is in the config file.



Index: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.145.2.3
retrieving revision 1.145.2.4
diff -u -d -r1.145.2.3 -r1.145.2.4
--- mbox-storage.c	9 Oct 2006 17:08:04 -0000	1.145.2.3
+++ mbox-storage.c	17 Oct 2006 11:03:08 -0000	1.145.2.4
@@ -193,7 +193,7 @@
 		return "/";
 
 	if (debug)
-		i_info("mbox: root directory not found");
+		i_info("mbox: root mail directory not found");
 
 	return NULL;
 }
@@ -235,14 +235,14 @@
 
 	home = getenv("HOME");
 	if (home == NULL) {
-		i_error("mbox: We need root IMAP folder, "
+		i_error("mbox: We need root mail directory, "
 			"but can't find it or HOME environment");
 		return NULL;
 	}
 
 	path = t_strconcat(home, "/mail", NULL);
 	if (mkdir_parents(path, CREATE_MODE) < 0) {
-		i_error("mbox: Can't create root IMAP folder %s: %m", path);
+		i_error("mbox: Can't create root mail directory %s: %m", path);
 		return NULL;
 	}
 
@@ -268,7 +268,7 @@
 	autodetect = data == NULL || *data == '\0';
 	if (autodetect) {
 		if ((flags & MAIL_STORAGE_FLAG_NO_AUTODETECTION) != 0) {
-			i_error("mbox: root directory not given");
+			i_error("mbox: root mail directory not given");
 			return NULL;
 		}
 
@@ -277,7 +277,7 @@
 		   either $HOME/mail or $HOME/Mail */
 		root_dir = get_root_dir(flags);
 	} else {
-		/* <root folder> | <INBOX path>
+		/* <root mail directory> | <INBOX path>
 		   [:INBOX=<path>] [:INDEX=<dir>] */
 		if (debug)
 			i_info("mbox: data=%s", data);



More information about the dovecot-cvs mailing list