From f624af1aab93246ef43644995f545f74f7acba11 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 25 Jan 2016 00:12:17 +0000 Subject: [PATCH] Same issue for [] addresses --- src/libutil/addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutil/addr.c b/src/libutil/addr.c index baa221c47..2324096e9 100644 --- a/src/libutil/addr.c +++ b/src/libutil/addr.c @@ -1047,7 +1047,7 @@ rspamd_parse_host_port_priority (const gchar *str, return FALSE; } - name = p + 1; + name = str + 1; namelen = p - str - 1; if (!rspamd_check_port_priority (p + 1, default_port, priority, portbuf, -- 2.39.5