summaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-08 13:02:57 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-08 13:02:57 +0100
commit1e4e8671b0fe29b37731f18176feacbd6066cb70 (patch)
treebd4e664c85e8eb1bba014a1c17d75f2e46c7b11d /src/cfg_utils.c
parent817433babecea09c37f4c991d9611a11b229cd56 (diff)
downloadrspamd-1e4e8671b0fe29b37731f18176feacbd6066cb70.tar.gz
rspamd-1e4e8671b0fe29b37731f18176feacbd6066cb70.zip
Fixes #45 issue by the proper parsing of a unix socket address.
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index 6eaf40a7f..af438a4c6 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -209,6 +209,7 @@ parse_bind_line (struct config_file *cfg, struct worker_conf *cf, gchar *str)
}
#endif
*host = memory_pool_strdup (cfg->cfg_pool, str);
+ *addr = *host;
*family = AF_UNIX;
return 1;
}