diff --git a/server/main.c b/server/main.c index bfb669eaa..cd4bcb248 100644 --- a/server/main.c +++ b/server/main.c @@ -56,7 +56,8 @@ enum LOOPCTRL { volatile enum LOOPCTRL control = LOOP_CONTINUE; static void *worker_thread(void *arg); -static int np2srv_state_data_clb(const char *xpath, sr_val_t **values, size_t *values_cnt, uint64_t request_id, void *private_ctx); +static int np2srv_state_data_clb(const char *xpath, sr_val_t **values, size_t *values_cnt, uint64_t request_id, + const char *original_xpath, void *private_ctx); static void np2srv_feature_change_clb(const char *module_name, const char *feature_name, bool enabled, void *private_ctx); static void np2srv_module_install_clb(const char *module_name, const char *revision, sr_module_state_t state, void *private_ctx); @@ -595,7 +596,8 @@ np2srv_feature_change_clb(const char *module_name, const char *feature_name, boo } static int -np2srv_state_data_clb(const char *xpath, sr_val_t **values, size_t *values_cnt, uint64_t UNUSED(request_id), void *UNUSED(private_ctx)) +np2srv_state_data_clb(const char *xpath, sr_val_t **values, size_t *values_cnt, uint64_t UNUSED(request_id), + const char *UNUSED(original_xpath), void *UNUSED(private_ctx)) { struct lyd_node *data = NULL, *node, *iter; struct ly_set *set = NULL;