diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-10-23 13:50:01 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-10-23 13:50:01 +0000 |
commit | 3d82ba4313949d78e2430bcdd174d997a3c69457 (patch) | |
tree | e175f212cb2692d0b808b7f1549b16505f719ba3 /lib/libfetch/common.c | |
parent | 72fd1b6a20253cf9b96d0ef66fdfd87383c56222 (diff) | |
download | src-3d82ba4313949d78e2430bcdd174d997a3c69457.tar.gz src-3d82ba4313949d78e2430bcdd174d997a3c69457.zip |
preparation for RFC3493. EAI_NODATA was deprecated.
Notes
Notes:
svn path=/head/; revision=121423
Diffstat (limited to 'lib/libfetch/common.c')
-rw-r--r-- | lib/libfetch/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index ea1c81da7ac3..4a169ae66a02 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -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" }, |