Commit a0c0481e authored by Nils Goroll's avatar Nils Goroll Committed by Pål Hermunn Johansen

ban lurker: the olist can be empty when all bans got dup'ed

All bans on olist can get marked completed as duplicates while we're
working on them, in particular as we start at an offset of
ban_lurker_age.

Fixes #1919
parent ea101c73
......@@ -145,9 +145,6 @@ ban_lurker_test_ban(struct worker *wrk, struct vsl_log *vsl, struct ban *bt,
unsigned tests;
int i;
/* It's an error to give an empty list to test against */
AZ(VTAILQ_EMPTY(obans));
/*
* First see if there is anything to do, and if so, insert marker
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment