server session CHANGE libyang api changes
diff --git a/src/session_server.c b/src/session_server.c
index 672e4c9..9d6fe9c 100644
--- a/src/session_server.c
+++ b/src/session_server.c
@@ -417,9 +417,9 @@
/* check format */
if (!format || !strcmp(format, "ietf-netconf-monitoring:yang")) {
- lys_print_mem(&model_data, module, LYS_OUT_YANG, NULL);
+ lys_print_mem(&model_data, module, LYS_OUT_YANG, NULL, 0, 0);
} else if (!strcmp(format, "ietf-netconf-monitoring:yin")) {
- lys_print_mem(&model_data, module, LYS_OUT_YIN, NULL);
+ lys_print_mem(&model_data, module, LYS_OUT_YIN, NULL, 0, 0);
} else {
err = nc_err(NC_ERR_INVALID_VALUE, NC_ERR_TYPE_APP);
nc_err_set_msg(err, "The requested format is not supported.", "en");