addlist (char *list, const char *item)
{
if (list)
- list = add (", ", list);
+ list = add (", ", list);
return add (item, list);
}
}
-/* truncpy copies at most size - 1 chars from non-NULL src to non-NULL,
+/* trunccpy copies at most size-1 chars from non-NULL src to non-NULL,
* non-overlapping, dst, and ensures dst is NUL terminated. If size is
* zero then it aborts as dst cannot be NUL terminated.
*