Mercurial > dovecot > original-hg > dovecot-1.2
diff src/plugins/trash/trash-plugin.c @ 6277:5f66277bbe40 HEAD
mail_index_lookup*() can't fail anymore. Changed several APIs not to return
failure anymore.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 12 Aug 2007 18:02:29 +0300 |
parents | 896cc473c1f0 |
children | f52e7d1402b5 |
line wrap: on
line diff
--- a/src/plugins/trash/trash-plugin.c Sun Aug 12 16:50:47 2007 +0300 +++ b/src/plugins/trash/trash-plugin.c Sun Aug 12 18:02:29 2007 +0300 @@ -152,9 +152,7 @@ continue; } - if (mail_expunge(trashes[oldest_idx].mail) < 0) - break; - + mail_expunge(trashes[oldest_idx].mail); expunged_count++; size_expunged += size; if (size_expunged >= size_needed)