mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
influxdb: fix segfault
This commit is contained in:
parent
95b42a509e
commit
6acfed07f0
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ int influxdb_parse(struct node *n, json_t *json)
|
|||
char *tmp, *host, *port, *lasts;
|
||||
const char *server, *key;
|
||||
|
||||
ret = json_unpack_ex(json, &err, 0, "{ s: s, s: s, s?: o }",
|
||||
ret = json_unpack_ex(json, &err, 0, "{ s: s, s: s }",
|
||||
"server", &server,
|
||||
"key", &key
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue