commit | 2400d2886368eb392c32d0a321b2aec1ea0533d5 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Oct 07 15:52:19 2016 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Oct 07 15:52:19 2016 +0200 |
tree | b78e5a3e5dc09d5617a643f10a319c557a78a180 | |
parent | a69cc50c4ff2b8dafcd2a6948aa5d522fb2b144c [diff] |
BUGFIX new libyang api requires variable arg
diff --git a/src/netopeerguid.c b/src/netopeerguid.c index a4bccb3..d5b31b8 100644 --- a/src/netopeerguid.c +++ b/src/netopeerguid.c
@@ -2930,7 +2930,7 @@ goto finalize; } - node_content = lyd_parse_mem(nc_session_get_ctx(locked_session->session), content, LYD_JSON, LYD_OPT_RPC); + node_content = lyd_parse_mem(nc_session_get_ctx(locked_session->session), content, LYD_JSON, LYD_OPT_RPC, NULL); session_unlock(locked_session); free(content);