aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtp_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-21 13:31:26 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-21 13:31:26 +0000
commitf3ac40859446c3f6829d52cfd0ae8066e5b5b2c8 (patch)
tree9eebef9b8f6dc2a2157cbd53170f6bd696ca6a01 /src/smtp_proxy.c
parent19fdaf580a3746442173f10da662629bdc1b62b9 (diff)
downloadrspamd-f3ac40859446c3f6829d52cfd0ae8066e5b5b2c8.tar.gz
rspamd-f3ac40859446c3f6829d52cfd0ae8066e5b5b2c8.zip
Use new rotation logic in the code
Diffstat (limited to 'src/smtp_proxy.c')
-rw-r--r--src/smtp_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smtp_proxy.c b/src/smtp_proxy.c
index 74c1da4c7..9c5364f1e 100644
--- a/src/smtp_proxy.c
+++ b/src/smtp_proxy.c
@@ -427,7 +427,7 @@ create_smtp_proxy_upstream_connection (struct smtp_proxy_session *session)
/* Try to select upstream */
selected = rspamd_upstream_get (session->ctx->upstreams,
- RSPAMD_UPSTREAM_ROUND_ROBIN);
+ RSPAMD_UPSTREAM_ROUND_ROBIN, NULL, 0);
if (selected == NULL) {
msg_err ("no upstreams suitable found");
return FALSE;