# HG changeset patch # User Timo Sirainen # Date 1030392837 -10800 # Node ID b7d7474cbcb291976fb927785f717fac535b31e4 # Parent 33e86ee7d1671f8dbfea8cdc1fcffbfaa6083e34 reset error message so we don't fail before we're looking at an old failure.. diff -r 33e86ee7d167 -r b7d7474cbcb2 src/lib-index/mail-messageset.c --- a/src/lib-index/mail-messageset.c Mon Aug 26 22:17:54 2002 +0300 +++ b/src/lib-index/mail-messageset.c Mon Aug 26 23:13:57 2002 +0300 @@ -49,6 +49,9 @@ i_assert(expunges_before < seq); expunges_found = *expunges != '\0'; + /* Reset index errors, since we later rely on it to check if failed */ + index_reset_error(index); + /* get the first non-expunged message. note that if all messages were expunged in the range, this points outside wanted range. */ rec = index->lookup(index, seq - expunges_before);