commit | 8f359bf7580ea0e6b026803cde4f8c64d23c659d | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 28 10:41:15 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 28 10:41:15 2020 +0200 |
tree | 21fb189ce6e45d07edb9131b67eaa1e7425d6105 | |
parent | 4c7763f32221060d63e0b80d2936af41657da560 [diff] [blame] |
data tree REFACTOR lyd_compare suffix variations
diff --git a/src/tree_data_hash.c b/src/tree_data_hash.c index b8a7725..d1756d9 100644 --- a/src/tree_data_hash.c +++ b/src/tree_data_hash.c
@@ -116,7 +116,7 @@ if (val1->schema->nodetype & (LYS_LIST | LYS_LEAFLIST)) { /* match on exact instance */ - if (!lyd_compare(val1, val2, 0)) { + if (!lyd_compare_single(val1, val2, 0)) { return 1; } } else if (val1->schema == val2->schema) {