Fixes compilation of query.c with musl --- dlls/dnsapi/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dnsapi/query.c b/dlls/dnsapi/query.c index b1d80dd..898e1f0 100644 --- a/dlls/dnsapi/query.c +++ b/dlls/dnsapi/query.c @@ -146,7 +146,7 @@ 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; - case NETDB_INTERNAL: return DNS_ERROR_RCODE; + case -1: return DNS_ERROR_RCODE; default: FIXME( "unmapped error code: %d\n", error ); return DNS_ERROR_RCODE_NOT_IMPLEMENTED;