Mercurial > dovecot > original-hg > dovecot-1.2
changeset 326:b79b6da2f84a HEAD
cleanup
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 28 Sep 2002 13:29:10 +0300 |
parents | ba058497efa9 |
children | 276b7a53c264 |
files | src/lib-storage/index/index-fetch-section.c src/lib-storage/index/index-fetch.c src/lib-storage/index/index-fetch.h |
diffstat | 3 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/index-fetch-section.c Sat Sep 28 12:51:13 2002 +0300 +++ b/src/lib-storage/index/index-fetch-section.c Sat Sep 28 13:29:10 2002 +0300 @@ -376,9 +376,8 @@ return FALSE; } -int index_fetch_body_section(MailIndexRecord *rec, - unsigned int seq __attr_unused__, - MailFetchBodyData *sect, FetchContext *ctx) +int index_fetch_body_section(MailIndexRecord *rec, MailFetchBodyData *sect, + FetchContext *ctx) { const char *prefix;
--- a/src/lib-storage/index/index-fetch.c Sat Sep 28 12:51:13 2002 +0300 +++ b/src/lib-storage/index/index-fetch.c Sat Sep 28 13:29:10 2002 +0300 @@ -309,7 +309,7 @@ sect = ctx->fetch_data->body_sections; for (; sect != NULL; sect = sect->next) { - if (!index_fetch_body_section(rec, seq, sect, ctx)) + if (!index_fetch_body_section(rec, sect, ctx)) break; }
--- a/src/lib-storage/index/index-fetch.h Sat Sep 28 12:51:13 2002 +0300 +++ b/src/lib-storage/index/index-fetch.h Sat Sep 28 13:29:10 2002 +0300 @@ -16,7 +16,7 @@ } FetchContext; ImapCacheField index_fetch_body_get_cache(const char *section); -int index_fetch_body_section(MailIndexRecord *rec, unsigned int seq, - MailFetchBodyData *sect, FetchContext *data); +int index_fetch_body_section(MailIndexRecord *rec, MailFetchBodyData *sect, + FetchContext *ctx); #endif