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

@ -225,11 +225,7 @@ keyval_pos(char *uint)
goto done;
}
cv = cvec_i(cvv, 0);
if (cv_type_set(cv, CGV_UINT32) < 0){
clicon_err(OE_UNIX, errno, "cv_type_set");
cvv = NULL;
goto done;
}
cv_type_set(cv, CGV_UINT32);
if ((ret = cv_parse1(uint, cv, &reason)) < 0){
clicon_err(OE_UNIX, errno, "cv_parse1");
cvv = NULL;