Adding upstream version 3.4.2+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
cfcebb1a7d
commit
338ffded6d
75 changed files with 1082 additions and 878 deletions
|
@ -831,8 +831,8 @@ check_ext_instance_priv_parsed_is_set(struct lysc_ext_instance *ext)
|
|||
LY_ARRAY_FOR(ext, u) {
|
||||
substmts = ext[u].substmts;
|
||||
LY_ARRAY_FOR(substmts, v) {
|
||||
if (substmts && substmts[v].storage && (substmts[v].stmt & LY_STMT_DATA_NODE_MASK)) {
|
||||
cnode = *(struct lysc_node **)substmts[v].storage;
|
||||
if (substmts && substmts[v].storage_p && (substmts[v].stmt & LY_STMT_DATA_NODE_MASK)) {
|
||||
cnode = *(struct lysc_node **)substmts[v].storage_p;
|
||||
iter = check;
|
||||
assert_int_equal(LY_SUCCESS, lysc_tree_dfs_full(cnode, check_node_priv_parsed_is_set, &iter));
|
||||
}
|
||||
|
@ -850,8 +850,8 @@ check_ext_instance_priv_parsed_not_set(struct lysc_ext_instance *ext)
|
|||
LY_ARRAY_FOR(ext, u) {
|
||||
substmts = ext[u].substmts;
|
||||
LY_ARRAY_FOR(substmts, v) {
|
||||
if (substmts && substmts[v].storage && (substmts[v].stmt & LY_STMT_DATA_NODE_MASK)) {
|
||||
cnode = *(struct lysc_node **)substmts[v].storage;
|
||||
if (substmts && substmts[v].storage_p && (substmts[v].stmt & LY_STMT_DATA_NODE_MASK)) {
|
||||
cnode = *(struct lysc_node **)substmts[v].storage_p;
|
||||
if (cnode) {
|
||||
CHECK_POINTER((struct lysp_node *)cnode->priv, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue