From: Ralph Corderoy Date: Wed, 7 Feb 2018 23:24:11 +0000 (+0000) Subject: trunccpy(): Fix typo in comment describing function. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/b13d8ba48781f5fa2414a6ba6147488e150f0ebb?hp=4f28cd1669089292f6e34f14617d4a8c1354647b trunccpy(): Fix typo in comment describing function. --- diff --git a/sbr/utils.c b/sbr/utils.c index d3d4a860..9f12132f 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -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. *