diff options
author | 2000-03-13 02:18:36 +0000 | |
---|---|---|
committer | 2000-03-13 02:18:36 +0000 | |
commit | 5c5451fb9b68a9422c8d5cf2b796f7012974b6bf (patch) | |
tree | 4bb364291f6a1ad92647477540e6ea19f17835b3 /lib/libc | |
parent | add khome/kend to xterm-r6 since our xterm supports these correctly. The old non-xfree86 r6 xterm sends \E[^@ for these keys which is wrong but enabling khome/kend shouldn't really cause any harm there. (diff) | |
download | wireguard-openbsd-5c5451fb9b68a9422c8d5cf2b796f7012974b6bf.tar.xz wireguard-openbsd-5c5451fb9b68a9422c8d5cf2b796f7012974b6bf.zip |
don't process NI_NOFQDN, since the currently coded behavior is not specwise
correct.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/getnameinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/net/getnameinfo.c b/lib/libc/net/getnameinfo.c index 3769e0fa3c8..1eddbb0bf06 100644 --- a/lib/libc/net/getnameinfo.c +++ b/lib/libc/net/getnameinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getnameinfo.c,v 1.10 2000/02/17 17:09:41 itojun Exp $ */ +/* $OpenBSD: getnameinfo.c,v 1.11 2000/03/13 02:18:36 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -266,10 +266,12 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) h_error = h_errno; if (hp) { +#if 0 if (flags & NI_NOFQDN) { p = strchr(hp->h_name, '.'); if (p) *p = '\0'; } +#endif if (strlen(hp->h_name) > hostlen) { return ENI_MEMORY; } |