libpkgconf: fragment: add padding bytes to length estimation for child fragments
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>master
parent
4f78e44959
commit
1dc078f08a
|
@ -509,7 +509,7 @@ pkgconf_fragment_len(const pkgconf_fragment_t *frag)
|
|||
{
|
||||
const pkgconf_fragment_t *child_frag = iter->data;
|
||||
|
||||
len += 1;
|
||||
len += 2;
|
||||
quoted = fragment_quote(child_frag);
|
||||
len += strlen(quoted);
|
||||
free(quoted);
|
||||
|
|
Loading…
Reference in New Issue