From: Timo Sirainen Date: Thu, 30 Jun 2011 05:00:07 +0000 (+0300) Subject: lib-storage: Fixed /chroot/./home style chrooting from userdb home. X-Git-Tag: 2.0.14~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e30b9e07f9657c35ca09ac36d57d60cbe2ebbc66;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: Fixed /chroot/./home style chrooting from userdb home. --- diff --git a/src/lib-storage/mail-storage-service.c b/src/lib-storage/mail-storage-service.c index 8cfe94380a..9cb1447a10 100644 --- a/src/lib-storage/mail-storage-service.c +++ b/src/lib-storage/mail-storage-service.c @@ -221,7 +221,7 @@ user_reply_handle(struct mail_storage_service_ctx *ctx, } if (home != NULL) - set_keyval(ctx, user, "mail_home", reply->home); + set_keyval(ctx, user, "mail_home", home); if (chroot != NULL) { if (!validate_chroot(user->user_set, chroot)) {