]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Remove broken line.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 6 Jun 2013 16:05:30 +0000 (17:05 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 6 Jun 2013 16:05:30 +0000 (17:05 +0100)
src/cfg_utils.c

index bb673c7d96d280e6d7713843c24cd9e0a4f81f8e..6eaf40a7f646a7c0eab052269dc3a82d1cb513a4 100644 (file)
@@ -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) {