aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-24 13:01:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-24 13:02:10 +0100
commit0656e9d95370dc8b04cdd51c28c0d13880701af7 (patch)
tree36d1d3d91ff9ee221b2e325aa7296070ecf801c9
parent2dc9c879a1259a1265c69f1283151288b7e282cb (diff)
downloadrspamd-0656e9d95370dc8b04cdd51c28c0d13880701af7.tar.gz
rspamd-0656e9d95370dc8b04cdd51c28c0d13880701af7.zip
[Fix] Fix adding upstream to an active queue
-rw-r--r--src/libutil/upstream.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c
index 8ea61bc20..0dcfea0f3 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);