commit | b6808206733ba0a0c8490286a41c767280fd45b8 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Dec 02 14:04:23 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Dec 02 14:04:23 2022 +0100 |
tree | 790731ccbfe366e7e5b376557b9d4dbf39653388 | |
parent | af3df49a3f6561cf173b44ea6ef4af696da3c9eb [diff] [blame] |
tree data BUGFIX skip schema-only nodes
diff --git a/src/tree_data.c b/src/tree_data.c index 08b9d34..0be7463 100644 --- a/src/tree_data.c +++ b/src/tree_data.c
@@ -1559,8 +1559,8 @@ do { /* find the next parent */ sp = schema; - while (sp->parent != src_parent) { - sp = sp->parent; + while (lysc_data_parent(sp) != src_parent) { + sp = lysc_data_parent(sp); } src_parent = sp;