]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Return mail's mailbox name with namespace prefix.
authorTimo Sirainen <tss@iki.fi>
Tue, 19 Jan 2010 14:11:53 +0000 (16:11 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 19 Jan 2010 14:11:53 +0000 (16:11 +0200)
--HG--
branch : HEAD

src/lib-storage/index/index-mail.c

index c67bdd6e7a1568b0786f7393a884f67ee3fe4dd2..f6dc6948621304b98ced97899c9e99bba1573c97 100644 (file)
@@ -1051,7 +1051,7 @@ int index_mail_get_special(struct mail *_mail,
                *value_r = "";
                return 0;
        case MAIL_FETCH_MAILBOX_NAME:
-               *value_r = _mail->box->name;
+               *value_r = _mail->box->vname;
                return 0;
        default:
                i_unreached();