]> source.dussan.org Git - rspamd.git/commitdiff
Fixes #45 issue by the proper parsing of a unix socket address.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Aug 2013 12:02:57 +0000 (13:02 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Aug 2013 12:02:57 +0000 (13:02 +0100)
src/cfg_utils.c

index 6eaf40a7f646a7c0eab052269dc3a82d1cb513a4..af438a4c6c5663c2801c32729b600bdc37619916 100644 (file)
@@ -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;
        }