changeset 1737:b94a21f18a13 HEAD

crashfix
author Timo Sirainen <tss@iki.fi>
date Mon, 25 Aug 2003 06:02:49 +0300
parents d55e7dfa9770
children ec90bae6f20a
files src/master/mail-process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/master/mail-process.c	Mon Aug 25 02:10:20 2003 +0300
+++ b/src/master/mail-process.c	Mon Aug 25 06:02:49 2003 +0300
@@ -156,7 +156,7 @@
 	home_dir = data + reply->home_idx;
 	chroot_dir = data + reply->chroot_idx;
 
-	if (*chroot_dir == '\0')
+	if (*chroot_dir == '\0' && set->mail_chroot != NULL)
 		chroot_dir = set->mail_chroot;
 
 	if (*chroot_dir != '\0' && !validate_chroot(set, chroot_dir)) {