commit | b98d708f3a51c3627b1f8897c310bf936e363e13 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Jul 15 16:38:36 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Jul 15 16:38:36 2020 +0200 |
tree | 24b830eb7d17a166efe2163a495f39356d0a9c89 | |
parent | 6027eb9c795ebe66133da63876f0be9c83b617b2 [diff] |
diff BUGFIX redundant check
diff --git a/src/diff.c b/src/diff.c index cef0713..eddce38 100644 --- a/src/diff.c +++ b/src/diff.c
@@ -1501,7 +1501,7 @@ } /* remove any redundant nodes */ - if (diff_parent && lyd_diff_is_redundant(diff_parent)) { + if (lyd_diff_is_redundant(diff_parent)) { if (diff_parent == *diff) { *diff = (*diff)->next; }