https://git.reactos.org/?p=reactos.git;a=commitdiff;h=121f0a5c50f4cf5bde88f79e05c298159ba54877
commit 121f0a5c50f4cf5bde88f79e05c298159ba54877 Author: Eric Kohl <eric.k...@reactos.org> AuthorDate: Sun Aug 25 11:15:00 2019 +0200 Commit: Eric Kohl <eric.k...@reactos.org> CommitDate: Sun Aug 25 11:15:00 2019 +0200 [NETAPI32] Fix a typo in DsDeregisterDnsHostRecordsA Thank you very much UserNT and Thomas for the hint! --- dll/win32/netapi32/netlogon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;