1
0
Fork 0
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:
Steffen Vogel 2019-03-26 15:34:36 +01:00
parent 8762648f87
commit cc62307113

View file

@ -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
);