2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Using 0 as an error value tends to conflict with using 0 to represent

success.
This commit is contained in:
Brian Wellington
2000-06-28 21:43:46 +00:00
parent 084d809e48
commit f51647808f

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: getnameinfo.c,v 1.18 2000/06/22 21:59:29 tale Exp $ */
/* $Id: getnameinfo.c,v 1.19 2000/06/28 21:43:46 bwelling Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -88,13 +88,13 @@ static struct afd {
{0, 0, 0},
};
#define ENI_NOSOCKET 0
#define ENI_NOSERVNAME 1
#define ENI_NOHOSTNAME 2
#define ENI_MEMORY 3
#define ENI_SYSTEM 4
#define ENI_FAMILY 5
#define ENI_SALEN 6
#define ENI_NOSOCKET 7
/*
* The test against 0 is there to keep the Solaris compiler