changeset 514:7427dd68c492 HEAD

comment update
author Timo Sirainen <tss@iki.fi>
date Fri, 25 Oct 2002 06:28:39 +0300
parents 01e94a80235d
children f0e88a0751e5
files src/lib-index/maildir/maildir-sync.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/maildir/maildir-sync.c	Fri Oct 25 06:27:56 2002 +0300
+++ b/src/lib-index/maildir/maildir-sync.c	Fri Oct 25 06:28:39 2002 +0300
@@ -255,9 +255,10 @@
 
 	i_assert(index->lock_type != MAIL_LOCK_SHARED);
 
-	if (index->fd == -1)
+	if (index->fd == -1) {
+		/* anon-mmaped */
 		index_mtime = index->file_sync_stamp;
-	else {
+	} else {
 		if (fstat(index->fd, &sti) < 0)
 			return index_set_syscall_error(index, "fstat()");
 		index_mtime = sti.st_mtime;