I wrote:

> +           strncat(cstr, ", ", sizeof(buf));
> +           return strdup(strncat(cstr, str, sizeof(buf)));

which is broken and buggy usage of strncat(), so don't copy that.

Harald.

Reply via email to