2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

EAI_NODATA is platform dependent.

This commit is contained in:
Mark Andrews
2002-07-29 00:35:17 +00:00
parent f48695f549
commit 2ee2c1be18

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: getaddresses.c,v 1.11 2002/06/06 00:55:48 marka Exp $ */
/* $Id: getaddresses.c,v 1.12 2002/07/29 00:35:17 marka Exp $ */
#include <config.h>
#include <string.h>
@@ -99,7 +99,9 @@ bind9_getaddresses(const char *hostname, in_port_t port,
case 0:
break;
case EAI_NONAME:
#ifdef EAI_NODATA
case EAI_NODATA:
#endif
return (ISC_R_NOTFOUND);
default:
return (ISC_R_FAILURE);