summaryrefslogtreecommitdiff
path: root/usr.bin/mail/names.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-11-21 20:41:57 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-11-21 20:41:57 +0000
commitc24e90e0637476fbd9d6983cfb62b935af4c7d97 (patch)
tree6aa744dff04bf458c68ddd45a9ef889f3086688e /usr.bin/mail/names.c
parent9e53048fff7853801448fee927bc5bae4c8b4a91 (diff)
o kill strcpy()
o check return values of malloc and friends o use strdup() when sensible
Diffstat (limited to 'usr.bin/mail/names.c')
-rw-r--r--usr.bin/mail/names.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/mail/names.c b/usr.bin/mail/names.c
index 15ffb7d334f..26bb61817fe 100644
--- a/usr.bin/mail/names.c
+++ b/usr.bin/mail/names.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: names.c,v 1.15 2001/11/21 18:43:27 millert Exp $ */
+/* $OpenBSD: names.c,v 1.16 2001/11/21 20:41:55 millert Exp $ */
/* $NetBSD: names.c,v 1.5 1996/06/08 19:48:32 christos Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static const char sccsid[] = "@(#)names.c 8.1 (Berkeley) 6/6/93";
#else
-static const char rcsid[] = "$OpenBSD: names.c,v 1.15 2001/11/21 18:43:27 millert Exp $";
+static const char rcsid[] = "$OpenBSD: names.c,v 1.16 2001/11/21 20:41:55 millert Exp $";
#endif
#endif /* not lint */
@@ -670,8 +670,7 @@ delname(struct name *np, char *name)
*/
#if 0
void
-prettyprint(name)
- struct name *name;
+prettyprint(struct name *name)
{
struct name *np;