Update clixon_xml_map.c

This commit is contained in:
008agent 2019-06-19 23:00:30 +03:00 committed by GitHub
parent 631b1d4558
commit bf2a9bfdfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2494,7 +2494,7 @@ api_path2xml_vec(char **vec,
else{
if ((valvec = clicon_strsep(restval, ",", &nvalvec)) == NULL)
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);
goto fail;
}