* Fixed: [xpath function count did not work properly #224](https://github.com/clicon/clixon/issues/224)

This commit is contained in:
Olof hagsand 2021-05-20 15:16:29 +02:00
parent 9fb9024675
commit c3e26b004c
4 changed files with 7 additions and 4 deletions

View file

@ -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: