]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Fixed /chroot/./home style chrooting from userdb home.
authorTimo Sirainen <tss@iki.fi>
Thu, 30 Jun 2011 05:00:07 +0000 (08:00 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 30 Jun 2011 05:00:07 +0000 (08:00 +0300)
src/lib-storage/mail-storage-service.c

index 8cfe94380ac6abce415330462292dae6fa956297..9cb1447a103b7d1961466f9a087c30a9fb85e374 100644 (file)
@@ -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)) {