]> diplodocus.org Git - nmh/commitdiff
trunccpy(): Fix typo in comment describing function.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 7 Feb 2018 23:24:11 +0000 (23:24 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 11 Feb 2018 13:06:35 +0000 (13:06 +0000)
sbr/utils.c

index d3d4a86..9f12132 100644 (file)
@@ -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.
  *
  * non-overlapping, dst, and ensures dst is NUL terminated.  If size is
  * zero then it aborts as dst cannot be NUL terminated.
  *