fix unit registry wrongly parsing comma separated list

remotes/github/master
Ondřej Hruška 7 years ago
parent e046be30b2
commit 2e2dab9244
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      framework/unit_registry.c

@ -276,7 +276,7 @@ bool ureg_instantiate_by_ini(const char *restrict driver_name, const char *restr
char *name = NULL;
if (delim != NULL) {
// not last
name = strndup_ck(p, delim - p);
name = strndup_ck(p, delim - p + 1);
p = delim + 1;
} else {
// last name

Loading…
Cancel
Save