diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-20 12:45:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-20 12:45:03 +0000 |
commit | 9117058f1548c521567e5314280bd484ba039263 (patch) | |
tree | 5256e85f8f11cfca28d7d961609a52fe1e829078 /src/rspamd_proxy.c | |
parent | 920edd39c12de0e69e54aa0bcde81e6e8d814c22 (diff) | |
download | rspamd-9117058f1548c521567e5314280bd484ba039263.tar.gz rspamd-9117058f1548c521567e5314280bd484ba039263.zip |
[Minor] Allow to specify mempool when copying an IP address structure
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 13393660e..10f95e0bf 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1804,11 +1804,11 @@ rspamd_proxy_self_scan (struct rspamd_proxy_session *session) task->sock = -1; if (session->client_milter_conn) { - task->client_addr = rspamd_inet_address_copy ( - session->client_milter_conn->addr); + task->client_addr = rspamd_inet_address_copy( + session->client_milter_conn->addr, NULL); } else { - task->client_addr = rspamd_inet_address_copy (session->client_addr); + task->client_addr = rspamd_inet_address_copy(session->client_addr, NULL); } task->fin_arg = session; |