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:
kipp%netscape.com 1998-10-13 22:32:26 +00:00
parent 97473fe3df
commit b2cb413058

View File

@ -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;
}