> On 18 Aug 2016, at 04:06, Neels Hofmeyr <[email protected]> wrote: > > For strncat, to obtain n, one must not subtract the length of what is > appended, > but the length of what is already written from the buffer size. >
let's use talloc_asprintf or the append variant of it. The place doesn't look like performance critical code. holger
