[dovecot-cvs] dovecot/src/master mail-process.c,1.18,1.19
cras at procontrol.fi
cras at procontrol.fi
Wed May 14 22:29:55 EEST 2003
Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv16175/src/master
Modified Files:
mail-process.c
Log Message:
fix
Index: mail-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- mail-process.c 14 May 2003 18:23:05 -0000 1.18
+++ mail-process.c 14 May 2003 18:29:53 -0000 1.19
@@ -200,7 +200,8 @@
if (set->mbox_read_dotlock)
env_put("MBOX_READ_DOTLOCK=1");
- env_put(t_strconcat("MODULE_DIR=", module_dir, NULL));
+ if (module_dir != NULL && *module_dir != '\0')
+ env_put(t_strconcat("MODULE_DIR=", module_dir, NULL));
/* user given environment - may be malicious. virtual_user comes from
auth process, but don't trust that too much either. Some auth
More information about the dovecot-cvs
mailing list