]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
compiler warning fix
authorTimo Sirainen <tss@iki.fi>
Thu, 22 Jul 2004 13:46:59 +0000 (16:46 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 22 Jul 2004 13:46:59 +0000 (16:46 +0300)
--HG--
branch : HEAD

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

index 162a9b14f630d7ca71c6e190df1430388c252668..270c03e7d1f016c43472a427e3f9cb6790dc3c07 100644 (file)
@@ -538,7 +538,7 @@ index_header_lookup_init(struct mailbox *box, const char *const headers[])
                /* @UNSAFE */
                for (i = 0; i < size; i++) {
                        ctx->idx[i] = fields[i].idx;
-                       ctx->name[i] = p_strdup(pool, sorted_headers[i]);
+                       ctx->name[i] = p_strdup(pool, headers[i]);
                }
        }