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-loopback: Fix json_unpack call in parse

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
Philipp Jungkamp 2023-06-30 18:21:27 +02:00
parent 61d5133a40
commit d0f1ac749a

View file

@ -110,7 +110,7 @@ int LoopbackNode::parse(json_t *json)
int ret;
ret = json_unpack_ex(json, &err, 0, "{ s?: i, s?: s }",
"queuelen", queuelen,
"queuelen", &queuelen,
"mode", &mode_str
);
if (ret)