mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
bug 869279 - fix mingw warnings in netwerk/ r=jduell
This commit is contained in:
parent
609e523ba7
commit
03a46bf6e7
@ -43,8 +43,8 @@ PRIntervalTime nsAutodial::mDontRetryUntil = 0;
|
||||
// ctor.
|
||||
nsAutodial::nsAutodial()
|
||||
: mAutodialBehavior(AUTODIAL_DEFAULT),
|
||||
mNumRASConnectionEntries(0),
|
||||
mAutodialServiceDialingLocation(-1)
|
||||
mAutodialServiceDialingLocation(-1),
|
||||
mNumRASConnectionEntries(0)
|
||||
{
|
||||
// Initializations that can be made again since RAS OS settings can
|
||||
// change.
|
||||
|
@ -947,8 +947,6 @@ nsSocketTransportService::ProbeMaxCount()
|
||||
return;
|
||||
mProbedMaxCount = true;
|
||||
|
||||
int32_t startedMaxCount = gMaxCount;
|
||||
|
||||
// Allocate and test a PR_Poll up to the gMaxCount number of unconnected
|
||||
// sockets. See bug 692260 - windows should be able to handle 1000 sockets
|
||||
// in select() without a problem, but LSPs have been known to balk at lower
|
||||
|
@ -320,10 +320,6 @@ nsNotifyAddrListener::CheckICSStatus(PWCHAR aAdapterName)
|
||||
DWORD
|
||||
nsNotifyAddrListener::CheckAdaptersAddresses(void)
|
||||
{
|
||||
static const DWORD flags =
|
||||
GAA_FLAG_SKIP_FRIENDLY_NAME | GAA_FLAG_SKIP_ANYCAST |
|
||||
GAA_FLAG_SKIP_MULTICAST | GAA_FLAG_SKIP_DNS_SERVER;
|
||||
|
||||
ULONG len = 16384;
|
||||
|
||||
PIP_ADAPTER_ADDRESSES addresses = (PIP_ADAPTER_ADDRESSES) malloc(len);
|
||||
|
Loading…
Reference in New Issue
Block a user