mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
node: fix invalid libjansson format string
This commit is contained in:
parent
8762648f87
commit
cc62307113
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ int node_parse(struct node *n, json_t *json, const char *name)
|
|||
|
||||
n->name = strdup(name);
|
||||
|
||||
ret = json_unpack_ex(json, &err, 0, "{ s: s, s?: b, s?: { s?: o } }",
|
||||
ret = json_unpack_ex(json, &err, 0, "{ s: s, s?: b }",
|
||||
"type", &type,
|
||||
"enabled", &n->enabled
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue