diff options
author | kris <kris@FreeBSD.org> | 2000-11-26 21:37:51 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-11-26 21:37:51 +0000 |
commit | 35eec2074d412e382aa410f7537032f06a046902 (patch) | |
tree | ad8bde1eb200164719976a07881dfe0f1c0df5a6 /libexec | |
parent | f568f6a3a3aeaa557f82e093a14e32eb1a7b47c7 (diff) | |
download | FreeBSD-src-35eec2074d412e382aa410f7537032f06a046902.zip FreeBSD-src-35eec2074d412e382aa410f7537032f06a046902.tar.gz |
Correct definition of MAXHOSTNAMELEN in ifdef'ed code.
Submitted by: Edwin Groothuis <mavetju@chello.nl>
PR: bin/22787
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/telnetd/telnetd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/telnetd/telnetd.c b/libexec/telnetd/telnetd.c index 7216cf7..ac0260e 100644 --- a/libexec/telnetd/telnetd.c +++ b/libexec/telnetd/telnetd.c @@ -775,7 +775,7 @@ terminaltypeok(s) } #ifndef MAXHOSTNAMELEN -#define MAXHOSTNAMELEN 64 +#define MAXHOSTNAMELEN 256 #endif /* MAXHOSTNAMELEN */ char *hostname; |