summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1996-09-27 02:30:05 +0000
committerthorpej <thorpej@NetBSD.org>1996-09-27 02:30:05 +0000
commit3d938079104bb8a98ae1fa08a730944da086ecd0 (patch)
treed02f4cfe4ab0f3a8ffb64e45a30cf6e4e41fa001 /libexec
parent4d99eaeb74eb3e6c30b6392eda4d2106c08fc62e (diff)
Don't truncate long host names.
From SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp>, PR #2676.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/telnetd/utility.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/utility.c b/libexec/telnetd/utility.c
index 9d5c8e00173..f56d7509cd8 100644
--- a/libexec/telnetd/utility.c
+++ b/libexec/telnetd/utility.c
@@ -1,4 +1,4 @@
-/* $NetBSD: utility.c,v 1.9 1996/02/28 20:38:29 thorpej Exp $ */
+/* $NetBSD: utility.c,v 1.10 1996/09/27 02:30:05 thorpej Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)utility.c 8.4 (Berkeley) 5/30/95";
#else
-static char rcsid[] = "$NetBSD: utility.c,v 1.9 1996/02/28 20:38:29 thorpej Exp $";
+static char rcsid[] = "$NetBSD: utility.c,v 1.10 1996/09/27 02:30:05 thorpej Exp $";
#endif
#endif /* not lint */
@@ -345,7 +345,7 @@ fatalperror(f, msg)
fatal(f, buf);
}
-char editedhost[32];
+char editedhost[MAXHOSTNAMELEN];
void
edithost(pat, host)