From: Timo Sirainen Date: Sun, 26 Oct 2008 13:37:58 +0000 (+0200) Subject: Virtual mailboxes: One more mailbox_header_lookup_ctx fix. X-Git-Tag: 1.2.alpha4~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d060c7e58977a44fab0c3be3e7a10772bf73e8b2;p=thirdparty%2Fdovecot%2Fcore.git Virtual mailboxes: One more mailbox_header_lookup_ctx fix. --HG-- branch : HEAD --- diff --git a/src/plugins/virtual/virtual-mail.c b/src/plugins/virtual/virtual-mail.c index b403d68cfe..2c579f4054 100644 --- a/src/plugins/virtual/virtual-mail.c +++ b/src/plugins/virtual/virtual-mail.c @@ -249,7 +249,8 @@ virtual_mail_get_header_stream(struct mail *mail, backend_headers = mailbox_header_lookup_init(vmail->backend_mail->box, headers->headers); - ret = mail_get_header_stream(vmail->backend_mail, headers, stream_r); + ret = mail_get_header_stream(vmail->backend_mail, backend_headers, + stream_r); mailbox_header_lookup_unref(&backend_headers); if (ret < 0) { virtual_box_copy_error(mail->box, vmail->backend_mail->box);