Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7169:b9d78196e9ba HEAD
Optimization fix: We always read dovecot-uidlist from the beginning of the
file even though we could have just read the new lines.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 19 Jan 2008 08:50:56 +0200 |
parents | e33119f2dfdc |
children | 36092ec27396 |
files | src/lib-storage/index/maildir/maildir-uidlist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 :