mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +00:00
[DNSAPI]
Properly check for domain name being set CID 1401080 svn path=/trunk/; revision=73837
This commit is contained in:
parent
3a8d6379b1
commit
c7a2132d63
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue