Initialize some of the host-ent data in case windoze doesn't; this fixes a purify warning
git-svn-id: svn://10.0.0.236/trunk@12745 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
97473fe3df
commit
b2cb413058
@ -106,6 +106,9 @@ DNSCacheEntry::Init(void* aContext, const char* aHost, PRFileDesc* fd)
|
||||
if ((NULL == mHost) || (NULL == mHostEnt) || (NULL == mSockets)) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
mHostEnt->h_name = NULL;
|
||||
mHostEnt->h_aliases = NULL;
|
||||
mHostEnt->h_addr_list = NULL;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user