From: Vsevolod Stakhov Date: Fri, 24 Jun 2016 12:01:31 +0000 (+0100) Subject: [Fix] Fix adding upstream to an active queue X-Git-Tag: 1.3.0~260 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0656e9d95370dc8b04cdd51c28c0d13880701af7;p=thirdparty%2Frspamd.git [Fix] Fix adding upstream to an active queue --- diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c index 8ea61bc206..0dcfea0f31 100644 --- a/src/libutil/upstream.c +++ b/src/libutil/upstream.c @@ -443,7 +443,6 @@ rspamd_upstream_ok (struct upstream *up) if (up->errors > 0 && up->active_idx != -1) { /* We touch upstream if and only if it is active */ up->errors = 0; - rspamd_upstream_set_active (up->ls, up); if (up->addrs.addr) { addr_elt = g_ptr_array_index (up->addrs.addr, up->addrs.cur);