commit | f4ba2ffa03e508a1e5378208fe576f9b360c33f8 | [log] [tgz] |
---|---|---|
author | Amjad Daraiseh <adaraiseh@outlook.com> | Fri Mar 22 10:38:50 2024 +0300 |
committer | GitHub <noreply@github.com> | Fri Mar 22 08:38:50 2024 +0100 |
tree | 7cc3db4ba12aacd6ce8c917c7929f65a15b65756 | |
parent | b66f02598e978934770ecb7563fdd5c83e4dd938 [diff] |
tree data BUGFIX non-changing iterator (#2207) Signed-off-by: Amjad Daraiseh <adaraiseh@okdanetworks.com>
diff --git a/src/tree_data_new.c b/src/tree_data_new.c index f4a5eaa..f3bd9e7 100644 --- a/src/tree_data_new.c +++ b/src/tree_data_new.c
@@ -802,6 +802,7 @@ rc = lyd_create_term(key_s, key_val, key_len, 0, store_only, NULL, format, NULL, LYD_HINT_DATA, NULL, &key); LY_CHECK_GOTO(rc, cleanup); lyd_insert_node(ret, NULL, key, LYD_INSERT_NODE_LAST); + ++i; } if (parent) {