Length of xml vector in many structs changed from to since it is a vector size, not byte size. This includes transaction_data_t

This commit is contained in:
Olof hagsand 2020-04-21 10:16:55 +02:00
parent 5be5b02a84
commit 04017c97ba
23 changed files with 57 additions and 54 deletions

View file

@ -253,12 +253,12 @@ nodetest_recursive(cxobj *xn,
cvec *nsc,
int localonly,
cxobj ***vec0,
size_t *vec0len)
int *vec0len)
{
int retval = -1;
cxobj *xsub;
cxobj **vec = *vec0;
size_t veclen = *vec0len;
int veclen = *vec0len;
xsub = NULL;
while ((xsub = xml_child_each(xn, xsub, node_type)) != NULL) {
@ -306,7 +306,7 @@ xp_eval_step(xp_ctx *xc0,
cxobj *xv;
cxobj *xp;
cxobj **vec = NULL;
size_t veclen = 0;
int veclen = 0;
xpath_tree *nodetest = xs->xs_c0;
xp_ctx *xc = NULL;
int ret;