mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 12:25:09 +03: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…
Reference in New Issue
Block a user