commit | ccd1fa66d539a8adac201129363a64c83d6f5b18 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 17 09:15:46 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 17 09:22:09 2023 +0200 |
tree | 21a86f9bf6ec7960478f577a5c522f865e097a54 | |
parent | e8055a540589de3826be0228bc8de32b2c7eadd3 [diff] [blame] |
tree data UPDATE improve error path
diff --git a/src/log.c b/src/log.c index 92f7c86..a788a2e 100644 --- a/src/log.c +++ b/src/log.c
@@ -741,7 +741,7 @@ if (snode->nodetype & (LYS_CHOICE | LYS_CASE)) { /* schema-only node */ return LY_SUCCESS; - } else if (lysc_data_parent(snode) != parent->schema) { + } else if (lysc_data_parent(snode) != lyd_node_schema(parent)) { /* not a direct descendant node */ return LY_SUCCESS; }