[dovecot-cvs] dovecot/src/master mail-process.c,1.96.2.4,1.96.2.5

cras at dovecot.org cras at dovecot.org
Sat Jul 1 20:44:47 EEST 2006


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

Modified Files:
      Tag: branch_1_0
	mail-process.c 
Log Message:
If namespace's location field wasn't set, the default location was supposed
to be used.



Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.96.2.4
retrieving revision 1.96.2.5
diff -u -d -r1.96.2.4 -r1.96.2.5
--- mail-process.c	27 Jun 2006 21:03:51 -0000	1.96.2.4
+++ mail-process.c	1 Jul 2006 17:44:45 -0000	1.96.2.5
@@ -161,7 +161,7 @@
 	for (i = 1; ns != NULL; i++, ns = ns->next) {
 		t_push();
 
-		location = ns->location != NULL ? ns->location :
+		location = *ns->location != '\0' ? ns->location :
 			default_location;
 		location = expand_mail_env(location, table);
 		env_put(t_strdup_printf("NAMESPACE_%u=%s", i, location));



More information about the dovecot-cvs mailing list