Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8668:1cea5aa6915c HEAD
dbox rebuild: Don't crash if nothing was previously in cache.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 21 Jan 2009 12:30:15 -0500 |
parents | d4376328f8c0 |
children | 14b9a90eb01d |
files | src/lib-storage/index/dbox/dbox-sync-rebuild.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox/dbox-sync-rebuild.c Tue Jan 20 17:36:50 2009 -0500 +++ b/src/lib-storage/index/dbox/dbox-sync-rebuild.c Wed Jan 21 12:30:15 2009 -0500 @@ -62,7 +62,7 @@ return; if (!mail_index_ext_get_reset_id(ctx->view, map, ctx->cache_ext_id, - &reset_id)) + &reset_id) || reset_id == 0) return; if (!ctx->cache_used) {