dovecot-2.0: anvil: Recent changes broke penalty timeout handling.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Mar 4 20:58:45 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/f48ce6049176
changeset: 10838:f48ce6049176
user: Timo Sirainen <tss at iki.fi>
date: Thu Mar 04 20:58:31 2010 +0200
description:
anvil: Recent changes broke penalty timeout handling.
diffstat:
src/anvil/penalty.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r ada20715c470 -r f48ce6049176 src/anvil/penalty.c
--- a/src/anvil/penalty.c Thu Mar 04 20:50:05 2010 +0200
+++ b/src/anvil/penalty.c Thu Mar 04 20:58:31 2010 +0200
@@ -163,6 +163,8 @@
time_t rec_last_update, expire_time;
unsigned int diff;
+ timeout_remove(&penalty->to);
+
expire_time = ioloop_time - penalty->expire_secs;
while (penalty->oldest != NULL) {
rec = penalty->oldest;
@@ -177,7 +179,6 @@
hash_table_remove(penalty->hash, rec->ident);
penalty_rec_free(penalty, rec);
}
- timeout_remove(&penalty->to);
}
void penalty_inc(struct penalty *penalty, const char *ident,
More information about the dovecot-cvs
mailing list