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