From: Timo Sirainen Date: Wed, 10 Sep 2003 01:50:26 +0000 (+0300) Subject: compile fix X-Git-Tag: 1.1.alpha1~4337 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f746ed38bd3c1a7d38e5b380e0e394bd095fff;p=thirdparty%2Fdovecot%2Fcore.git compile fix --HG-- branch : HEAD --- 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))