Misc sanity checks and documentation
This commit is contained in:
parent
6418e030ce
commit
fa077839f0
4 changed files with 10 additions and 4 deletions
|
|
@ -957,8 +957,8 @@ yang_parse_find_match(clicon_handle h,
|
|||
if (dp)
|
||||
free(dp);
|
||||
}
|
||||
else if (strcmp(xml_name(xc), "CLICON_YANG_DIR") == 0){
|
||||
dir = xml_body(xc);
|
||||
else if (strcmp(xml_name(xc), "CLICON_YANG_DIR") == 0 &&
|
||||
(dir = xml_body(xc)) != NULL){
|
||||
/* get all matching files in this directory recursively */
|
||||
if ((cvv = cvec_new(0)) == NULL){
|
||||
clicon_err(OE_UNIX, errno, "cvec_new");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue