From a404160e151a945757c2d4b08d1951523b50bd65 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Mon, 12 Jun 2000 04:28:23 +0000 Subject: correct ENI_SALEN case to meet rfc2553bis. --- lib/libc/net/getnameinfo.c | 6 +++--- 1 file 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) -- cgit v1.2.3