Commit 836e6690 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

dnsapi: Do not fail if NETDB_INTERNAL is not present.

parent ece6f5c3
......@@ -147,7 +147,9 @@ static DNS_STATUS dns_map_h_errno( int error )
case HOST_NOT_FOUND: return DNS_ERROR_RCODE_NAME_ERROR;
case TRY_AGAIN: return DNS_ERROR_RCODE_SERVER_FAILURE;
case NO_RECOVERY: return DNS_ERROR_RCODE_REFUSED;
#ifdef NETDB_INTERNAL
case NETDB_INTERNAL: return DNS_ERROR_RCODE;
#endif
default:
FIXME( "unmapped error code: %d\n", error );
return DNS_ERROR_RCODE_NOT_IMPLEMENTED;
......
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