dnsapi: Replace NETDB_INTERNAL by -1

Felix Janda felix.janda at posteo.de
Sun Jun 1 04:03:07 CDT 2014


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;
-- 
1.8.5.5



More information about the wine-patches mailing list