Correct definition of MAXHOSTNAMELEN in ifdef'ed code.

Submitted by:	Edwin Groothuis <mavetju@chello.nl>
PR:		bin/22787


git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@69223 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This commit is contained in:
kris 2000-11-26 21:37:51 +00:00
parent eec40d7c66
commit 312e8003c1
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ static const char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#define MAXHOSTNAMELEN 256
#endif MAXHOSTNAMELEN
#if defined(IPPROTO_IP) && defined(IP_TOS)

View File

@ -823,7 +823,7 @@ terminaltypeok(s)
}
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#define MAXHOSTNAMELEN 256
#endif /* MAXHOSTNAMELEN */
char *hostname;