We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fdeec9 commit a7eaac4Copy full SHA for a7eaac4
GoogleDataTransport/GDTCORLibrary/GDTCORReachability.m
@@ -60,7 +60,8 @@ + (SCNetworkReachabilityFlags)currentFlags {
60
__block SCNetworkReachabilityFlags currentFlags;
61
dispatch_sync([GDTCORReachability sharedInstance] -> _reachabilityQueue, ^{
62
GDTCORReachability *reachability = [GDTCORReachability sharedInstance];
63
- currentFlags = reachability->_flags ? reachability->_flags : reachability->_callbackFlags;
+ currentFlags =
64
+ reachability->_callbackFlags ? reachability->_callbackFlags : reachability->_flags;
65
GDTCORLogDebug("Initial reachability flags determined: %d", currentFlags);
66
});
67
return currentFlags;
0 commit comments