changeset 8342:18a7e838e4a7 HEAD

Virtual mailboxes: One more mailbox_header_lookup_ctx fix.
author Timo Sirainen <tss@iki.fi>
date Sun, 26 Oct 2008 15:37:58 +0200
parents fa564d405f51
children 221eb8e4d08e
files src/plugins/virtual/virtual-mail.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/virtual/virtual-mail.c	Sat Oct 25 23:56:35 2008 +0300
+++ b/src/plugins/virtual/virtual-mail.c	Sun Oct 26 15:37:58 2008 +0200
@@ -249,7 +249,8 @@
 
 	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);