changeset 3251:3544d971e7da HEAD

Fetching partial headers crashed because of recent changes.
author Timo Sirainen <tss@iki.fi>
date Sat, 02 Apr 2005 20:37:03 +0300
parents 3b820e59610e
children fb9eee567307
files src/imap/imap-fetch-body.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/imap-fetch-body.c	Tue Mar 29 22:27:37 2005 +0300
+++ b/src/imap/imap-fetch-body.c	Sat Apr 02 20:37:03 2005 +0300
@@ -436,7 +436,7 @@
 	struct message_size size;
 	uoff_t old_offset;
 
-	ctx->cur_input = mail_get_headers(mail, body->header_ctx);
+	ctx->cur_input = mail_get_header_stream(mail, body->header_ctx);
 	if (ctx->cur_input == NULL)
 		return -1;