changeset 1769:c2ba78db758e HEAD

compile fix
author Timo Sirainen <tss@iki.fi>
date Wed, 10 Sep 2003 04:50:26 +0300
parents 115ffc7eaff5
children ba17c15b9b40
files src/lib-storage/index/index-mail-headers.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-mail-headers.c	Tue Sep 09 21:52:39 2003 +0300
+++ b/src/lib-storage/index/index-mail-headers.c	Wed Sep 10 04:50:26 2003 +0300
@@ -415,6 +415,8 @@
 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 @@
 
 	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))