fix unit registry wrongly parsing comma separated list
This commit is contained in:
@@ -276,7 +276,7 @@ bool ureg_instantiate_by_ini(const char *restrict driver_name, const char *restr
|
|||||||
char *name = NULL;
|
char *name = NULL;
|
||||||
if (delim != NULL) {
|
if (delim != NULL) {
|
||||||
// not last
|
// not last
|
||||||
name = strndup_ck(p, delim - p);
|
name = strndup_ck(p, delim - p + 1);
|
||||||
p = delim + 1;
|
p = delim + 1;
|
||||||
} else {
|
} else {
|
||||||
// last name
|
// last name
|
||||||
|
|||||||
Reference in New Issue
Block a user