mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Fix portability failure if netdb.h lacks NO_ADDRESS
This commit is contained in:
parent
ac17e5939c
commit
d95b689fd9
@ -1140,10 +1140,12 @@ xmlNanoHTTPConnectHost(const char *host, int port)
|
||||
"Non-recoverable errors: FORMERR, REFUSED, or NOTIMP.";
|
||||
break;
|
||||
|
||||
#ifdef NO_ADDRESS
|
||||
case NO_ADDRESS:
|
||||
h_err_txt =
|
||||
"Valid name, no data record of requested type.";
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
h_err_txt = "No error text defined.";
|
||||
|
Loading…
x
Reference in New Issue
Block a user