* Fixed: [xpath function count did not work properly #224](https://github.com/clicon/clixon/issues/224)
This commit is contained in:
parent
9fb9024675
commit
c3e26b004c
4 changed files with 7 additions and 4 deletions
|
|
@ -441,7 +441,7 @@ xp_function_count(xp_ctx *xc,
|
|||
}
|
||||
memset(xr, 0, sizeof(*xr));
|
||||
xr->xc_type = XT_NUMBER;
|
||||
xr->xc_number = xr0->xc_number;
|
||||
xr->xc_number = xr0->xc_size;
|
||||
*xrp = xr;
|
||||
retval = 0;
|
||||
done:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue