From 16912a5d080aff2140bf8220c06739848f43b1c1 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 15 Dec 1994 01:21:06 +0000 Subject: Fix hostnames >32 chars Submitted by: cstruble@singularity.bevc.blacksburg.va.us --- libexec/talkd/talkd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libexec/talkd') diff --git a/libexec/talkd/talkd.c b/libexec/talkd/talkd.c index 669931b..ea48376 100644 --- a/libexec/talkd/talkd.c +++ b/libexec/talkd/talkd.c @@ -49,6 +49,7 @@ static char sccsid[] = "@(#)talkd.c 8.1 (Berkeley) 6/4/93"; */ #include #include +#include #include #include #include @@ -68,7 +69,7 @@ int debug = 0; void timeout(); long lastmsgtime; -char hostname[32]; +char hostname[MAXHOSTNAMELEN]; #define TIMEOUT 30 #define MAXIDLE 120 -- cgit v1.1