mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[DNSAPI]
Properly check for domain name being set CID 1401080 svn path=/trunk/; revision=73837
This commit is contained in:
@@ -346,7 +346,7 @@ CheckForCurrentHostname(CONST CHAR * Name, PFIXED_INFO network_info)
|
||||
PIP_ADAPTER_ADDRESSES Addresses = NULL, pip;
|
||||
BOOL Found = FALSE;
|
||||
|
||||
if (network_info->DomainName)
|
||||
if (network_info->DomainName[0])
|
||||
{
|
||||
size_t StringLength;
|
||||
size_t TempSize = 2;
|
||||
|
||||
Reference in New Issue
Block a user