freebsd-dev/lib/libfetch
Mike Karels 631b82aca0 fetch: support EAI_ADDRFAMILY error, correct two error messages
With the change to return EAI_ADDRFAMILY from getaddrinfo(), fetch
would print "Unknown resolver error" for that error.  Add that error
and its string to libfetch's table, using an #ifdef just in case.
Correct error strings for EAI_NODATA (although it is currently unused)
and EAI_NONAME.  Should maybe rework the code to use gai_strerror(3),
but that doesn't map directly, and the current strings are shortened.

Reviewed in https://reviews.freebsd.org/D37139 with related changes.

Reviewed by:    bz
MFC after:      1 month
2022-11-02 11:03:31 -05:00
..
common.c fetch: support EAI_ADDRFAMILY error, correct two error messages 2022-11-02 11:03:31 -05:00
common.h
fetch.3 There's no PEM(3) anywhere around; delete reference. 2022-09-17 13:14:01 +02:00
fetch.c
fetch.h
file.c
ftp.c
ftp.errors
http.c libfetch: remove a set-but-not-uswed variable 2022-04-20 16:58:33 +02:00
http.errors
Makefile
Makefile.depend
Makefile.depend.options