From: Vsevolod Stakhov Date: Thu, 8 Aug 2013 12:02:57 +0000 (+0100) Subject: Fixes #45 issue by the proper parsing of a unix socket address. X-Git-Tag: 0.6.0~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e4e8671b0fe29b37731f18176feacbd6066cb70;p=thirdparty%2Frspamd.git Fixes #45 issue by the proper parsing of a unix socket address. --- diff --git a/src/cfg_utils.c b/src/cfg_utils.c index 6eaf40a7f6..af438a4c6c 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; }