Mercurial > dovecot > core-2.2
changeset 4250:a767dd4fafb0 HEAD
s/dbox_sync_if_changed/dbox_sync_is_changed/
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 04 May 2006 01:02:55 +0300 |
parents | 706c978c7c7d |
children | 5bc987dc62a8 |
files | src/lib-storage/index/dbox/dbox-save.c src/lib-storage/index/dbox/dbox-sync.c src/lib-storage/index/dbox/dbox-sync.h |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox/dbox-save.c Thu May 04 01:02:28 2006 +0300 +++ b/src/lib-storage/index/dbox/dbox-save.c Thu May 04 01:02:55 2006 +0300 @@ -124,7 +124,7 @@ ctx->trans = t->ictx.trans; ctx->append_ctx = dbox_uidlist_append_init(mbox->uidlist); - if ((ret = dbox_sync_if_changed(mbox)) < 0) { + if ((ret = dbox_sync_is_changed(mbox)) < 0) { ctx->failed = TRUE; return -1; }
--- a/src/lib-storage/index/dbox/dbox-sync.c Thu May 04 01:02:28 2006 +0300 +++ b/src/lib-storage/index/dbox/dbox-sync.c Thu May 04 01:02:55 2006 +0300 @@ -552,7 +552,7 @@ return index_mailbox_sync_init(box, flags, ret < 0); } -int dbox_sync_if_changed(struct dbox_mailbox *mbox) +int dbox_sync_is_changed(struct dbox_mailbox *mbox) { const struct mail_index_header *hdr; time_t mtime;
--- a/src/lib-storage/index/dbox/dbox-sync.h Thu May 04 01:02:28 2006 +0300 +++ b/src/lib-storage/index/dbox/dbox-sync.h Thu May 04 01:02:55 2006 +0300 @@ -48,7 +48,7 @@ }; int dbox_sync(struct dbox_mailbox *mbox, bool force); -int dbox_sync_if_changed(struct dbox_mailbox *mbox); +int dbox_sync_is_changed(struct dbox_mailbox *mbox); struct mailbox_sync_context * dbox_storage_sync_init(struct mailbox *box, enum mailbox_sync_flags flags);