Commit d95b689f authored by Daniel Veillard's avatar Daniel Veillard

Fix portability failure if netdb.h lacks NO_ADDRESS

parent ac17e593
......@@ -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.";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment