diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-13 03:45:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-13 03:45:26 +0000 |
commit | 86357ae0221930878b02ed8d5af6a4fbde557ac6 (patch) | |
tree | 790f9c90d9426989e7eb9e7da20a6ad4d4ab9189 /libexec | |
parent | ebfecc46b680789468747c3366d2a72976faef80 (diff) |
hostname can be longer; noticed by bitblt
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rpc.lockd/procs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rpc.lockd/procs.c b/libexec/rpc.lockd/procs.c index 91a2a220cfe..9833d5a7074 100644 --- a/libexec/rpc.lockd/procs.c +++ b/libexec/rpc.lockd/procs.c @@ -58,7 +58,7 @@ static void log_from_addr(char *fun_name, struct svc_req *req) { struct sockaddr_in *addr; struct hostent *host; - char hostname_buf[40]; + char hostname_buf[MAXHOSTNAMELEN; addr = svc_getcaller(req->rq_xprt); host = gethostbyaddr((char *)&(addr->sin_addr), addr->sin_len, AF_INET); |