clixon_util_path did not sort XML properly
This commit is contained in:
parent
a674af6f2c
commit
5831c053fa
6 changed files with 24 additions and 10 deletions
|
|
@ -696,8 +696,8 @@ clixon_trim(char *str)
|
|||
* @param[in] s1 String 1
|
||||
* @param[in] s2 String 2
|
||||
* @retval 0 Equal
|
||||
* @retval -1 Not equal
|
||||
* @retval 1 Not equal
|
||||
* @retval <0 s1 is less than s2
|
||||
* @retval >0 s1 is greater than s2
|
||||
*/
|
||||
int
|
||||
clicon_strcmp(char *s1,
|
||||
|
|
|
|||
|
|
@ -972,7 +972,9 @@ xml_spec_populate(cxobj *x,
|
|||
if (xml2ns(x, xml_prefix(x), &ns) < 0)
|
||||
goto done;
|
||||
if (xp && (yparent = xml_spec(xp)) != NULL){
|
||||
#ifdef DEBUG
|
||||
clicon_debug(1, "%s yang parent:%s", __FUNCTION__, yang_argument_get(yparent));
|
||||
#endif
|
||||
y = yang_find_datanode(yparent, name);
|
||||
}
|
||||
else if (yspec){ /* XXX this gives false positives */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue