diff options
author | 1996-07-18 00:04:09 +0000 | |
---|---|---|
committer | 1996-07-18 00:04:09 +0000 | |
commit | 00e374c4c933f95b647e5f2ec3ae9b7143f99565 (patch) | |
tree | 190d9fc2a7394696a17678fce1a765e7e19c0a2a | |
parent | buffer overflow from dholland@hcs.HARVARD.EDU; could do with some cleanup? (diff) | |
download | wireguard-openbsd-00e374c4c933f95b647e5f2ec3ae9b7143f99565.tar.xz wireguard-openbsd-00e374c4c933f95b647e5f2ec3ae9b7143f99565.zip |
full hostnames; from cstruble@singularity.bevc.blacksburg.va.us
-rw-r--r-- | libexec/talkd/talkd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/talkd/talkd.c b/libexec/talkd/talkd.c index eecec53f9c0..fd76c2e6f0c 100644 --- a/libexec/talkd/talkd.c +++ b/libexec/talkd/talkd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: talkd.c,v 1.3 1996/07/15 05:10:12 mickey Exp $ */ +/* $OpenBSD: talkd.c,v 1.4 1996/07/18 00:04:09 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -41,7 +41,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)talkd.c 5.8 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: talkd.c,v 1.3 1996/07/15 05:10:12 mickey Exp $"; +static char rcsid[] = "$Id: talkd.c,v 1.4 1996/07/18 00:04:09 deraadt Exp $"; #endif /* not lint */ /* @@ -69,7 +69,7 @@ int debug = 0; void timeout(); long lastmsgtime; -char hostname[32]; +char hostname[MAXHOSTNAMELEN]; #define TIMEOUT 30 #define MAXIDLE 120 |