diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-06-12 04:28:23 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-06-12 04:28:23 +0000 |
commit | a404160e151a945757c2d4b08d1951523b50bd65 (patch) | |
tree | a86a6ed9373c1b2ccdf439e195976fb219ec59c3 | |
parent | 5e89a81d69f58c4158321ce5c28bf8cffeb65e2f (diff) |
correct ENI_SALEN case to meet rfc2553bis.
-rw-r--r-- | lib/libc/net/getnameinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/getnameinfo.c b/lib/libc/net/getnameinfo.c index 0b80638f015..1cabee6b976 100644 --- a/lib/libc/net/getnameinfo.c +++ b/lib/libc/net/getnameinfo.c @@ -1,5 +1,5 @@ -/* $OpenBSD: getnameinfo.c,v 1.16 2000/06/12 03:50:50 itojun Exp $ */ -/* $KAME: getnameinfo.c,v 1.42 2000/06/12 02:51:06 itojun Exp $ */ +/* $OpenBSD: getnameinfo.c,v 1.17 2000/06/12 04:28:22 itojun Exp $ */ +/* $KAME: getnameinfo.c,v 1.43 2000/06/12 04:27:03 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -97,7 +97,7 @@ static int ip6_sa2str __P((const struct sockaddr_in6 *, char *, size_t, int)); #define ENI_MEMORY EAI_MEMORY #define ENI_SYSTEM EAI_SYSTEM #define ENI_FAMILY EAI_FAMILY -#define ENI_SALEN EAI_FAIL /*XXX*/ +#define ENI_SALEN EAI_FAMILY int getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) |