Merge branch 'master' of https://github.com/dcornejo/clixon into dcornejo-master
This commit is contained in:
commit
0e1ae1deab
1 changed files with 1 additions and 2 deletions
|
|
@ -1503,8 +1503,7 @@ xml2xpath1(cxobj *x,
|
||||||
char *b;
|
char *b;
|
||||||
enum rfc_6020 keyword;
|
enum rfc_6020 keyword;
|
||||||
|
|
||||||
if ((xp = xml_parent(x)) != NULL &&
|
if (xp = xml_parent(x))
|
||||||
xml_spec(xp) != NULL)
|
|
||||||
xml2xpath1(xp, cb);
|
xml2xpath1(xp, cb);
|
||||||
/* XXX: sometimes there should be a /, sometimes not */
|
/* XXX: sometimes there should be a /, sometimes not */
|
||||||
cprintf(cb, "/%s", xml_name(x));
|
cprintf(cb, "/%s", xml_name(x));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue