diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-07-28 09:34:44 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-07-28 09:34:44 +0000 |
| commit | 21cca9bebe2557cd48d9b0e150fc725f916ae1c8 (patch) | |
| tree | 5987c780e1e8c04bf4b54116a5989e03857ad4fd /libexec/rlogind | |
| parent | 084059f84fa801f460055915efe5e41ac4cf411e (diff) | |
Notes
Diffstat (limited to 'libexec/rlogind')
| -rw-r--r-- | libexec/rlogind/rlogind.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index 11cf1c18b9f1..8fac305c01ee 100644 --- a/libexec/rlogind/rlogind.c +++ b/libexec/rlogind/rlogind.c @@ -231,9 +231,9 @@ doit(f, fromp) hostname[sizeof(hostname) - 1] = '\0'; { - if ((fromp->su_family != AF_INET && + if ((fromp->su_family != AF_INET #ifdef INET6 - fromp->su_family != AF_INET6 + && fromp->su_family != AF_INET6 #endif ) || fromp->su_port >= IPPORT_RESERVED || @@ -570,10 +570,6 @@ int do_rlogin(dest) union sockunion *dest; { - int retval; - int af; - char *addr; - getstr(rusername, sizeof(rusername), "remuser too long"); getstr(lusername, sizeof(lusername), "locuser too long"); getstr(term+ENVSIZE, sizeof(term)-ENVSIZE, "Terminal type too long"); |
