From a4f746ed38bd3c1a7d38e5b380e0e394bd095fff Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 10 Sep 2003 04:50:26 +0300 Subject: [PATCH] compile fix --HG-- branch : HEAD --- src/lib-storage/index/index-mail-headers.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib-storage/index/index-mail-headers.c b/src/lib-storage/index/index-mail-headers.c index 1220d33129..db5805403f 100644 --- a/src/lib-storage/index/index-mail-headers.c +++ b/src/lib-storage/index/index-mail-headers.c @@ -415,6 +415,8 @@ static void cached_headers_clear_values(struct index_mail *mail) static int parse_cached_headers(struct index_mail *mail, int idx) { struct index_mail_data *data = &mail->data; + struct message_header_parser_ctx *hdr_ctx; + struct message_header_line *hdr; struct istream *istream; const char *str, *const *idx_headers; @@ -453,9 +455,6 @@ static int parse_cached_headers(struct index_mail *mail, int idx) index_mail_parse_header_init(mail, idx_headers); - struct message_header_parser_ctx *hdr_ctx; - struct message_header_line *hdr; - hdr_ctx = message_parse_header_init(istream, NULL); while ((hdr = message_parse_header_next(hdr_ctx)) != NULL) { if (!index_mail_parse_header(NULL, hdr, mail)) -- 2.47.3