commit | 7c4cf1ed5e797046025812acd28b5adad71ec769 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Jun 22 10:04:30 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Jun 22 10:04:30 2020 +0200 |
tree | 080e3fa4480f1817d53e3e605e7487f128fbd634 | |
parent | aa7f4fa7f8067500d96615190e52e5b2383108e6 [diff] [blame] |
validation BUGFIX appending to empty data tree
diff --git a/src/validation.c b/src/validation.c index 7b586a5..1219d89 100644 --- a/src/validation.c +++ b/src/validation.c
@@ -1101,7 +1101,7 @@ if (!mod) { break; } - if (first == *tree) { + if (!first || (first == *tree)) { /* make sure first2 changes are carried to tree */ first2 = tree; } else {