aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/http/http_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/http/http_context.c')
-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;