[NETAPI32] Fix a typo in DsDeregisterDnsHostRecordsA

Thank you very much UserNT and Thomas for the hint!
This commit is contained in:
Eric Kohl 2019-08-25 11:15:00 +02:00
parent bfea773ee5
commit 121f0a5c50

View file

@ -341,7 +341,7 @@ DsDeregisterDnsHostRecordsA(
}
}
pDnsHostNameW = NetpAllocWStrFromAnsiStr((PSTR)DnsDomainName);
pDnsHostNameW = NetpAllocWStrFromAnsiStr((PSTR)DnsHostName);
if (pDnsHostNameW == NULL)
{
status = ERROR_NOT_ENOUGH_MEMORY;