[NETAPI32] Fix a typo in DsDeregisterDnsHostRecordsA
authorEric Kohl <eric.kohl@reactos.org>
Sun, 25 Aug 2019 09:15:00 +0000 (11:15 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 25 Aug 2019 09:15:00 +0000 (11:15 +0200)
Thank you very much UserNT and Thomas for the hint!

dll/win32/netapi32/netlogon.c

index 73a0324..539d0c1 100644 (file)
@@ -341,7 +341,7 @@ DsDeregisterDnsHostRecordsA(
         }
     }
 
-    pDnsHostNameW = NetpAllocWStrFromAnsiStr((PSTR)DnsDomainName);
+    pDnsHostNameW = NetpAllocWStrFromAnsiStr((PSTR)DnsHostName);
     if (pDnsHostNameW == NULL)
     {
         status = ERROR_NOT_ENOUGH_MEMORY;