artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad706df
)
don't process NI_NOFQDN, since the currently coded behavior is not specwise
author
itojun
<itojun@openbsd.org>
Mon, 13 Mar 2000 02:18:36 +0000
(
02:18
+0000)
committer
itojun
<itojun@openbsd.org>
Mon, 13 Mar 2000 02:18:36 +0000
(
02:18
+0000)
correct.
lib/libc/net/getnameinfo.c
patch
|
blob
|
history
diff --git
a/lib/libc/net/getnameinfo.c
b/lib/libc/net/getnameinfo.c
index
3769e0f
..
1eddbb0
100644
(file)
--- a/
lib/libc/net/getnameinfo.c
+++ b/
lib/libc/net/getnameinfo.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: getnameinfo.c,v 1.1
0 2000/02/17 17:09:41
itojun Exp $ */
+/* $OpenBSD: getnameinfo.c,v 1.1
1 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;
}