aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-06 17:05:30 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-06 17:05:30 +0100
commitb19cc5a3f46e00c74ed1d51c2047dc287ba49f06 (patch)
tree4fd5a72920a941bf95fc2e35bf0e89ced2bc4dcf /src/cfg_utils.c
parente2bc828fdd9efc6586d60916d45c59bed531a46f (diff)
downloadrspamd-b19cc5a3f46e00c74ed1d51c2047dc287ba49f06.tar.gz
rspamd-b19cc5a3f46e00c74ed1d51c2047dc287ba49f06.zip
Remove broken line.
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index bb673c7d9..6eaf40a7f 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -83,7 +83,6 @@ parse_host_port_priority (memory_pool_t *pool, const gchar *str, gchar **addr, g
}
if ((r = getaddrinfo (cur_tok, NULL, &hints, &res)) == 0) {
- *addr = memory_pool_alloc (pool, INET6_ADDRSTRLEN);
memcpy (&addr_holder, res->ai_addr, MIN (sizeof (addr_holder), res->ai_addrlen));
if (res->ai_family == AF_INET) {
if (pool != NULL) {