aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/http
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-20 12:45:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-20 12:45:03 +0000
commit9117058f1548c521567e5314280bd484ba039263 (patch)
tree5256e85f8f11cfca28d7d961609a52fe1e829078 /src/libserver/http
parent920edd39c12de0e69e54aa0bcde81e6e8d814c22 (diff)
downloadrspamd-9117058f1548c521567e5314280bd484ba039263.tar.gz
rspamd-9117058f1548c521567e5314280bd484ba039263.zip
[Minor] Allow to specify mempool when copying an IP address structure
Diffstat (limited to 'src/libserver/http')
-rw-r--r--src/libserver/http/http_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/http/http_context.c b/src/libserver/http/http_context.c
index e86d8ae79..87ee9268e 100644
--- a/src/libserver/http/http_context.c
+++ b/src/libserver/http/http_context.c
@@ -539,7 +539,7 @@ rspamd_http_context_prepare_keepalive(struct rspamd_http_context *ctx,
phk->conns = empty_init;
phk->host = g_strdup (host);
phk->is_ssl = is_ssl;
- phk->addr = rspamd_inet_address_copy (addr);
+ phk->addr = rspamd_inet_address_copy(addr, NULL);
phk->port = hk.port;