# HG changeset patch # User Timo Sirainen # Date 1200725456 -7200 # Node ID b9d78196e9ba923f56efb603829fd053ca14001b # Parent e33119f2dfdcb95d1095874dee04afd38a215ac9 Optimization fix: We always read dovecot-uidlist from the beginning of the file even though we could have just read the new lines. diff -r e33119f2dfdc -r b9d78196e9ba src/lib-storage/index/maildir/maildir-uidlist.c --- a/src/lib-storage/index/maildir/maildir-uidlist.c Sat Jan 19 08:29:05 2008 +0200 +++ b/src/lib-storage/index/maildir/maildir-uidlist.c Sat Jan 19 08:50:56 2008 +0200 @@ -578,7 +578,7 @@ } input = i_stream_create_fd(fd, 4096, FALSE); - i_stream_seek(input, uidlist->last_read_offset); + i_stream_seek(input, last_read_offset); orig_next_uid = uidlist->next_uid; ret = input->v_offset != 0 ? 1 :