From: Eric Kohl Date: Sun, 25 Aug 2019 09:15:00 +0000 (+0200) Subject: [NETAPI32] Fix a typo in DsDeregisterDnsHostRecordsA X-Git-Tag: 0.4.14-dev~225 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=121f0a5c50f4cf5bde88f79e05c298159ba54877 [NETAPI32] Fix a typo in DsDeregisterDnsHostRecordsA Thank you very much UserNT and Thomas for the hint! --- diff --git a/dll/win32/netapi32/netlogon.c b/dll/win32/netapi32/netlogon.c index 73a0324f0fa..539d0c1f64d 100644 --- a/dll/win32/netapi32/netlogon.c +++ b/dll/win32/netapi32/netlogon.c @@ -341,7 +341,7 @@ DsDeregisterDnsHostRecordsA( } } - pDnsHostNameW = NetpAllocWStrFromAnsiStr((PSTR)DnsDomainName); + pDnsHostNameW = NetpAllocWStrFromAnsiStr((PSTR)DnsHostName); if (pDnsHostNameW == NULL) { status = ERROR_NOT_ENOUGH_MEMORY;