summaryrefslogtreecommitdiff
path: root/shared/config-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/config-parser.c')
-rw-r--r--shared/config-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/config-parser.c b/shared/config-parser.c
index a8e949d..386d5a2 100644
--- a/shared/config-parser.c
+++ b/shared/config-parser.c
@@ -178,7 +178,7 @@ strtosockaddrs(const char *str, struct cfg_value *rvalue, bool async)
rvalue->type = CFG_VAL_TYPE_ADDRS;
list = &rvalue->saddrs;
- list_init(list);
+ INIT_LIST_HEAD(list);
if (*str == '[') {
/* IPv6, [a:b:c...h]:p or [*]:p */