diff options
author | 1998-07-12 08:46:52 +0000 | |
---|---|---|
committer | 1998-07-12 08:46:52 +0000 | |
commit | 19c859f503fe5a784375ff23e585595bd92a7417 (patch) | |
tree | 90e1798b4531f912bf1c962a310df594568133ef | |
parent | include/ss went away (diff) | |
download | wireguard-openbsd-19c859f503fe5a784375ff23e585595bd92a7417.tar.xz wireguard-openbsd-19c859f503fe5a784375ff23e585595bd92a7417.zip |
indent
-rw-r--r-- | libexec/rshd/rshd.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index 64d472d1798..d0453b812da 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -39,7 +39,7 @@ static char copyright[] = #ifndef lint /* from: static char sccsid[] = "@(#)rshd.c 8.2 (Berkeley) 4/6/94"; */ -static char *rcsid = "$Id: rshd.c,v 1.27 1998/07/10 18:22:54 millert Exp $"; +static char *rcsid = "$Id: rshd.c,v 1.28 1998/07/12 08:46:52 deraadt Exp $"; #endif /* not lint */ /* @@ -387,11 +387,10 @@ doit(fromp) } } hostname = strncpy(hostnamebuf, hostname, - sizeof(hostnamebuf) - 1); + sizeof(hostnamebuf) - 1); } else errorhost = hostname = strncpy(hostnamebuf, - inet_ntoa(fromp->sin_addr), - sizeof(hostnamebuf) - 1); + inet_ntoa(fromp->sin_addr), sizeof(hostnamebuf) - 1); hostnamebuf[sizeof(hostnamebuf) - 1] = '\0'; #ifdef KERBEROS |