diff --git a/netwerk/system/mac/nsNetworkLinkService.mm b/netwerk/system/mac/nsNetworkLinkService.mm index 7ffe1033ed3..7a1c4d75596 100644 --- a/netwerk/system/mac/nsNetworkLinkService.mm +++ b/netwerk/system/mac/nsNetworkLinkService.mm @@ -174,8 +174,7 @@ nsNetworkLinkService::UpdateReachability() } SCNetworkConnectionFlags flags; - if (!::SCNetworkReachabilityGetFlags(mReachability, &flags) || - flags == 0) { + if (!::SCNetworkReachabilityGetFlags(mReachability, &flags)) { mStatusKnown = PR_FALSE; return; }