diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-08 13:02:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-08 13:02:57 +0100 |
commit | 1e4e8671b0fe29b37731f18176feacbd6066cb70 (patch) | |
tree | bd4e664c85e8eb1bba014a1c17d75f2e46c7b11d /src/cfg_utils.c | |
parent | 817433babecea09c37f4c991d9611a11b229cd56 (diff) | |
download | rspamd-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.c | 1 |
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; } |