commit | 2afc1ca518e7a383188bf0bfa0980a2c2bd4f8fd | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue May 03 11:38:53 2016 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue May 03 11:38:53 2016 +0200 |
tree | df23fa4b2d5e4fca0ee9313dceab9823b5d3ba3b | |
parent | d3219de551e725b46a5b799e8d0a5043bf721bbc [diff] [blame] |
tree schema BUGFIX handle augments properly
diff --git a/src/resolve.c b/src/resolve.c index 15ce96f..3e0d90a 100644 --- a/src/resolve.c +++ b/src/resolve.c
@@ -3467,7 +3467,7 @@ /* check identifier uniqueness as in lys_node_addchild() */ LY_TREE_FOR(aug->child, sub) { - if (lys_check_id(sub, aug->parent, lys_main_module(aug->module))) { + if (lys_check_id(sub, aug->target, NULL)) { return -1; } }