]> diplodocus.org Git - nmh/blobdiff - sbr/utils.c
Fixed source charset in mhfixmsg textcharset verbose output.
[nmh] / sbr / utils.c
index d3d4a86..fe531ac 100644 (file)
@@ -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.
  *