diff options
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1134,7 +1134,7 @@ static int do_Parameter(unsigned char **pp, struct template *pTpl) } } else { pTpe->fieldName = ustrdup(cstrGetSzStrNoNULL(pStrField)); - pTpe->lenFieldName = cstrLen(pStrProp); + pTpe->lenFieldName = ustrlen(pTpe->fieldName); cstrDestruct(&pStrField); } if(pTpe->fieldName == NULL) |