From 0656e9d95370dc8b04cdd51c28c0d13880701af7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 24 Jun 2016 13:01:31 +0100 Subject: [PATCH] [Fix] Fix adding upstream to an active queue --- src/libutil/upstream.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.47.3