Skip to content

Commit

Permalink
resolve BUGFIX relative paths in submodules
Browse files Browse the repository at this point in the history
Fixes #1658
  • Loading branch information
michalvasko committed Jul 19, 2021
1 parent 9775c25 commit 3f19cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolve.c
Expand Up @@ -2347,7 +2347,7 @@ resolve_json_nodeid(const char *nodeid, const struct ly_ctx *ctx, const struct l
while (start_parent && (start_parent->nodetype == LYS_USES)) {
start_parent = lys_parent(start_parent);
}
module = start->module;
module = lys_node_module(start);
} else {
if (!mod_name) {
str = strndup(nodeid, (name + nam_len) - nodeid);
Expand Down

0 comments on commit 3f19cb2

Please sign in to comment.