dovecot-2.0: mdbox: Comment update

dovecot at dovecot.org dovecot at dovecot.org
Mon Apr 19 16:16:14 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/0eb423848dc1
changeset: 11169:0eb423848dc1
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Apr 19 16:14:37 2010 +0300
description:
mdbox: Comment update

diffstat:

 src/lib-storage/index/dbox-multi/mdbox-save.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r a6b050cc4a9a -r 0eb423848dc1 src/lib-storage/index/dbox-multi/mdbox-save.c
--- a/src/lib-storage/index/dbox-multi/mdbox-save.c	Fri Apr 16 18:24:34 2010 +0300
+++ b/src/lib-storage/index/dbox-multi/mdbox-save.c	Mon Apr 19 16:14:37 2010 +0300
@@ -248,8 +248,8 @@
 		return -1;
 	}
 
-	/* get map UIDs for messages saved to multi-files. they're written
-	   to transaction log immediately within this function, but the map
+	/* assign map UIDs for newly saved messages. they're written to
+	   transaction log immediately within this function, but the map
 	   is left locked. */
 	if (dbox_map_append_assign_map_uids(ctx->append_ctx, &first_map_uid,
 					    &last_map_uid) < 0) {
@@ -262,7 +262,7 @@
 	mail_index_append_finish_uids(ctx->ctx.trans, hdr->next_uid,
 				      &_t->changes->saved_uids);
 
-	/* add map_uids for all messages saved to multi-files */
+	/* save map UIDs to mailbox index */
 	if (first_map_uid != 0) {
 		struct mdbox_mail_index_record rec;
 		const struct dbox_save_mail *mails;


More information about the dovecot-cvs mailing list