Update clixon_xml_map.c
This commit is contained in:
parent
631b1d4558
commit
bf2a9bfdfc
1 changed files with 1 additions and 1 deletions
|
|
@ -2494,7 +2494,7 @@ api_path2xml_vec(char **vec,
|
||||||
else{
|
else{
|
||||||
if ((valvec = clicon_strsep(restval, ",", &nvalvec)) == NULL)
|
if ((valvec = clicon_strsep(restval, ",", &nvalvec)) == NULL)
|
||||||
goto done;
|
goto done;
|
||||||
if (nvalvec != cvec_len(cvk)) && strict){
|
if ((nvalvec != cvec_len(cvk)) && strict){
|
||||||
clicon_err(OE_XML, EINVAL, "List key %s length mismatch", name);
|
clicon_err(OE_XML, EINVAL, "List key %s length mismatch", name);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue