dovecot-1.0: Fixes for last changes

dovecot at dovecot.org dovecot at dovecot.org
Fri Jul 13 01:16:30 EEST 2007


details:   http://hg.dovecot.org/dovecot-1.0/rev/db0818972a19
changeset: 5343:db0818972a19
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jul 12 06:45:39 2007 +0300
description:
Fixes for last changes

diffstat:

1 file changed, 2 insertions(+), 4 deletions(-)
src/lib-storage/index/maildir/maildir-uidlist.c |    6 ++----

diffs (24 lines):

diff -r a948df958d10 -r db0818972a19 src/lib-storage/index/maildir/maildir-uidlist.c
--- a/src/lib-storage/index/maildir/maildir-uidlist.c	Thu Jul 12 04:22:51 2007 +0300
+++ b/src/lib-storage/index/maildir/maildir-uidlist.c	Thu Jul 12 06:45:39 2007 +0300
@@ -388,7 +388,7 @@ maildir_uidlist_update_read(struct maild
 {
 	struct mail_storage *storage = STORAGE(uidlist->mbox->storage);
 	const char *line;
-	unsigned int uid_validity, next_uid, orig_next_uid;
+	unsigned int orig_next_uid;
 	struct istream *input;
 	struct stat st;
 	int fd, ret;
@@ -429,10 +429,8 @@ maildir_uidlist_update_read(struct maild
 	input = i_stream_create_file(fd, default_pool, 4096, TRUE);
 
 	/* get header */
+	orig_next_uid = uidlist->next_uid;
 	if ((ret = maildir_uidlist_read_header(uidlist, input)) > 0) {
-		orig_next_uid = next_uid;
-		uidlist->uid_validity = uid_validity;
-		uidlist->next_uid = next_uid;
 		uidlist->prev_read_uid = 0;
 
 		ret = 1;


More information about the dovecot-cvs mailing list