diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-30 00:51:11 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-30 00:51:11 +0100 |
commit | 45bbea1dda1ef84794a29e87ed1127f8cb728f11 (patch) | |
tree | 546412e3c15f997d083181d47f263d5bc49a162b /src | |
parent | 2c68a5e0180dc10f727789275b1a13ad2fa47de3 (diff) | |
download | rspamd-45bbea1dda1ef84794a29e87ed1127f8cb728f11.tar.gz rspamd-45bbea1dda1ef84794a29e87ed1127f8cb728f11.zip |
Start on system with no IPv6 support.
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/cfg_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 0a9fdc9ba..4d2b86880 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -234,7 +234,7 @@ rspamd_parse_bind_line (struct rspamd_config *cfg, { struct rspamd_worker_bind_conf *cnf; gchar **tokens, *tmp, *err; - gboolean ret = TRUE; + gboolean ret = TRUE, rc; if (str == NULL) { return FALSE; @@ -272,7 +272,7 @@ rspamd_parse_bind_line (struct rspamd_config *cfg, cnf->bind_host = rspamd_mempool_strdup (cfg->cfg_pool, str); cnf->ai = AF_INET6; tokens[0] = "*v6"; - if ((ret &= parse_host_port_priority_strv (cfg->cfg_pool, tokens, + if ((rc = parse_host_port_priority_strv (cfg->cfg_pool, tokens, &cnf->bind_host, &cnf->bind_port, NULL, DEFAULT_BIND_PORT))) { LL_PREPEND (cf->bind_conf, cnf); } |