Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/mail Refix last delta's string copying edits
details: https://anonhg.NetBSD.org/src/rev/22c69f05738b
branches: trunk
changeset: 555180:22c69f05738b
user: ross <ross%NetBSD.org@localhost>
date: Mon Nov 10 21:37:36 2003 +0000
description:
Refix last delta's string copying edits
diffstat:
usr.bin/mail/cmd3.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 41ef716f6fb5 -r 22c69f05738b usr.bin/mail/cmd3.c
--- a/usr.bin/mail/cmd3.c Mon Nov 10 20:50:29 2003 +0000
+++ b/usr.bin/mail/cmd3.c Mon Nov 10 21:37:36 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cmd3.c,v 1.23 2003/10/31 01:25:54 ross Exp $ */
+/* $NetBSD: cmd3.c,v 1.24 2003/11/10 21:37:36 ross Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)cmd3.c 8.2 (Berkeley) 4/20/95";
#else
-__RCSID("$NetBSD: cmd3.c,v 1.23 2003/10/31 01:25:54 ross Exp $");
+__RCSID("$NetBSD: cmd3.c,v 1.24 2003/11/10 21:37:36 ross Exp $");
#endif
#endif /* not lint */
@@ -389,7 +389,7 @@
if (l >= sizeof varbuf)
l = sizeof varbuf - 1;
strncpy(cp2, *ap, l);
- ap[0][l] = '\0';
+ varbuf[l] = '\0';
if (*cp == '\0')
cp = "";
else
Home |
Main Index |
Thread Index |
Old Index