aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/monitored.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index 9cbee15e9..67889048d 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -307,7 +307,7 @@ rspamd_monitored_dns_mon (struct rspamd_monitored *m,
if (!rdns_make_request_full (ctx->resolver, rspamd_monitored_dns_cb,
conf, ctx->cfg->dns_timeout, ctx->cfg->dns_retransmits,
- 1, conf->rt, conf->request->str)) {
+ 1, conf->request->str, conf->rt)) {
msg_info_mon ("cannot make request to resolve %s", conf->request->str);
m->cur_errors ++;