[dovecot-cvs] dovecot/src/master mail-process.c,1.92,1.93

cras at dovecot.org cras at dovecot.org
Fri Apr 21 14:23:03 EEST 2006


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv16444

Modified Files:
	mail-process.c 
Log Message:
If mail environment is "", don't use it.



Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- mail-process.c	21 Apr 2006 11:00:43 -0000	1.92
+++ mail-process.c	21 Apr 2006 11:23:01 -0000	1.93
@@ -342,7 +342,7 @@
 	struct mountpoint point;
 	const char *path;
 
-	if (mail == NULL)
+	if (mail == NULL || *mail == '\0')
 		path = home;
 	else {
 		path = strstr(mail, ":INDEX=");



More information about the dovecot-cvs mailing list