Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib-storage/index/index-sync.c @ 8132:66dd5f452d32 HEAD
DEBUG: Don't verify recent flags if view is already marked inconsistent.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 31 Aug 2008 11:46:22 +0300 |
parents | 3ffac3f6173f |
children | b9faf4db2a9f |
comparison
equal
deleted
inserted
replaced
8131:32a045eaf6b6 | 8132:66dd5f452d32 |
---|---|
278 seq_range_array_remove_range(&ibox->recent_flags, | 278 seq_range_array_remove_range(&ibox->recent_flags, |
279 uid + 1, | 279 uid + 1, |
280 hdr->next_uid - 1); | 280 hdr->next_uid - 1); |
281 } | 281 } |
282 #ifdef DEBUG | 282 #ifdef DEBUG |
283 { | 283 if (!mail_index_view_is_inconsistent(ibox->view)) { |
284 const struct seq_range *range; | 284 const struct seq_range *range; |
285 unsigned int i, count; | 285 unsigned int i, count; |
286 | 286 |
287 range = array_get(&ibox->recent_flags, &count); | 287 range = array_get(&ibox->recent_flags, &count); |
288 for (i = 0; i < count; i++) { | 288 for (i = 0; i < count; i++) { |