]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
compile fix
authorTimo Sirainen <tss@iki.fi>
Wed, 10 Sep 2003 01:50:26 +0000 (04:50 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 10 Sep 2003 01:50:26 +0000 (04:50 +0300)
--HG--
branch : HEAD

src/lib-storage/index/index-mail-headers.c

index 1220d33129b4b65cc55d9cf0010c4da7f279466c..db5805403f1d93fa116fb4b4654770a4fdedc197 100644 (file)
@@ -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))