From 5173fb5d8f2533a3e3fa06fb4c1e20773cd34a93 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 25 Aug 2003 06:02:49 +0300 Subject: [PATCH] crashfix --HG-- branch : HEAD --- src/master/mail-process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/master/mail-process.c b/src/master/mail-process.c index b51d96f179..0329d62f52 100644 --- a/src/master/mail-process.c +++ b/src/master/mail-process.c @@ -156,7 +156,7 @@ int create_mail_process(struct login_group *group, int socket, 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)) { -- 2.47.3