X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4b388ae408c2056043f1a28cdf480743092253b0..3c751489b2aca846fe2305a6a3d189381579b61e:/sbr/utils.c diff --git a/sbr/utils.c b/sbr/utils.c index d3d4a860..fe531ac2 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -177,7 +177,7 @@ char * addlist (char *list, const char *item) { if (list) - list = add (", ", list); + list = add (", ", list); return add (item, list); } @@ -345,7 +345,7 @@ nmh_strcasestr (const char *s1, const char *s2) } -/* 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. *