]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Virtual mailboxes: One more mailbox_header_lookup_ctx fix.
authorTimo Sirainen <tss@iki.fi>
Sun, 26 Oct 2008 13:37:58 +0000 (15:37 +0200)
committerTimo Sirainen <tss@iki.fi>
Sun, 26 Oct 2008 13:37:58 +0000 (15:37 +0200)
--HG--
branch : HEAD

src/plugins/virtual/virtual-mail.c

index b403d68cfef43e9e97b7fabc0a6602b3082a2a34..2c579f405425f5e91701b6dbe8c6bbb414187408 100644 (file)
@@ -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);