commit | cdb9017ca332d32b1c43fceda1441a8b5a227155 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Sep 13 09:34:36 2016 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Sep 13 09:34:36 2016 +0200 |
tree | 8d6b35c419101e1e34ed7a2bdad2b7919b2d5ffd | |
parent | 3d20f2609f556d5f8f57df1a0990138cab47a330 [diff] [blame] |
data treee CHANGE lyd_validate variable argument now mandatory It caused too much errors and SEGFAULTS.
diff --git a/src/context.c b/src/context.c index 2b3bb67..0c7e405 100644 --- a/src/context.c +++ b/src/context.c
@@ -629,7 +629,7 @@ return NULL; } - if (lyd_validate(&root, LYD_OPT_NOSIBLINGS)) { + if (lyd_validate(&root, LYD_OPT_NOSIBLINGS, NULL)) { lyd_free(root); return NULL; }