diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-06 13:34:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-06 13:34:46 +0000 |
commit | 57c91ccabb7a419a7482e5a83839fb97a8024aad (patch) | |
tree | 3fc23f53950625bbc69d155d3b6a31fed401772c | |
parent | 2e3317ab4e7876e95163c9e8f5248940d56836d9 (diff) |
expand hostname to MAXHOSTNAMELEN
-rw-r--r-- | libexec/uucpd/uucpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c index f515bed2d6e..9d54a7af410 100644 --- a/libexec/uucpd/uucpd.c +++ b/libexec/uucpd/uucpd.c @@ -42,7 +42,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)uucpd.c 5.10 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: uucpd.c,v 1.7 1996/12/22 03:41:24 tholo Exp $"; +static char rcsid[] = "$Id: uucpd.c,v 1.8 1997/02/06 13:34:45 deraadt Exp $"; #endif /* not lint */ /* @@ -272,7 +272,7 @@ struct passwd *pw; struct sockaddr_in *sin; { char line[32]; - char remotehost[32]; + char remotehost[MAXHOSTNAMELEN]; int wtmp, f; struct hostent *hp = gethostbyaddr((char *)&sin->sin_addr, sizeof (struct in_addr), AF_INET); |