Bug 480324 Link state detection on Mac OS X not always working (offline, auto detect). r=dcamp,jduell.mcbugs,sr=jst

This commit is contained in:
Mark Banner 2009-02-28 09:53:45 +00:00
parent a9b2fbfcc4
commit 01f4953309

View File

@ -174,8 +174,7 @@ nsNetworkLinkService::UpdateReachability()
}
SCNetworkConnectionFlags flags;
if (!::SCNetworkReachabilityGetFlags(mReachability, &flags) ||
flags == 0) {
if (!::SCNetworkReachabilityGetFlags(mReachability, &flags)) {
mStatusKnown = PR_FALSE;
return;
}