[dovecot-cvs] dovecot/src/master mail-process.c,1.101,1.102
cras at dovecot.org
cras at dovecot.org
Sat Jul 1 20:44:50 EEST 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv27293
Modified Files:
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.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- mail-process.c 28 Jun 2006 13:10:54 -0000 1.101
+++ mail-process.c 1 Jul 2006 17:44:46 -0000 1.102
@@ -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