diff options
author | ume <ume@FreeBSD.org> | 2005-05-21 15:28:42 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-05-21 15:28:42 +0000 |
commit | ed819b8c0999507ed08cacb1c0d4f9fc50df6dc7 (patch) | |
tree | 5071b93e5be879e6ee1cbd869b7f1d7a9686920b /contrib/telnet/telnetd | |
parent | 8b6774c605fae4a99198076fe11df400991531a8 (diff) | |
download | FreeBSD-src-ed819b8c0999507ed08cacb1c0d4f9fc50df6dc7.zip FreeBSD-src-ed819b8c0999507ed08cacb1c0d4f9fc50df6dc7.tar.gz |
NI_WITHSCOPEID cleanup
Diffstat (limited to 'contrib/telnet/telnetd')
-rw-r--r-- | contrib/telnet/telnetd/telnetd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/telnet/telnetd/telnetd.c b/contrib/telnet/telnetd/telnetd.c index 614bab9..f500088 100644 --- a/contrib/telnet/telnetd/telnetd.c +++ b/contrib/telnet/telnetd/telnetd.c @@ -695,7 +695,7 @@ doit(struct sockaddr *who) if (!isdigit(remote_hostname[0]) && strlen(remote_hostname) > utmp_len) err_ = getnameinfo(who, who->sa_len, remote_hostname, sizeof(remote_hostname), NULL, 0, - NI_NUMERICHOST|NI_WITHSCOPEID); + NI_NUMERICHOST); /* XXX: do 'err_' check */ (void) gethostname(host_name, sizeof(host_name) - 1); |