preparation for RFC3493. EAI_NODATA was deprecated.

This commit is contained in:
Hajimu UMEMOTO 2003-10-23 13:50:01 +00:00
parent 72fd1b6a20
commit 3d82ba4313

View File

@ -54,7 +54,9 @@ __FBSDID("$FreeBSD$");
* Error messages for resolver errors
*/
static struct fetcherr _netdb_errlist[] = {
#ifdef EAI_NODATA
{ EAI_NODATA, FETCH_RESOLV, "Host not found" },
#endif
{ EAI_AGAIN, FETCH_TEMP, "Transient resolver failure" },
{ EAI_FAIL, FETCH_RESOLV, "Non-recoverable resolver failure" },
{ EAI_NONAME, FETCH_RESOLV, "No address record" },