PERF: Added a recurse parameter to xml_yang_minmax_recurse() to avoid "double recursion"

C-API: `candidate_commit()`: validate_level (added in 6.1) marked obsolete
This commit is contained in:
Olof hagsand 2023-02-23 11:39:00 +01:00
parent 2db5961169
commit 55422f4187
9 changed files with 30 additions and 29 deletions

View file

@ -227,7 +227,7 @@ main(int argc,
goto done;
}
if (commit){
if ((ret = candidate_commit(h, NULL, database, 0, VL_FULL, cb)) < 0)
if ((ret = candidate_commit(h, NULL, database, 0, 0, cb)) < 0)
goto done;
}
else{