You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/04/22 02:51:06 UTC
git commit: CB-6350 - Fix networkStatusForFlags return value type to
work with 64-bit iOS (closes #8)
Repository: cordova-plugin-network-information
Updated Branches:
refs/heads/dev e437369c5 -> e0d3ae00b
CB-6350 - Fix networkStatusForFlags return value type to work with 64-bit iOS
(closes #8)
Signed-off-by: Shazron Abdullah <sh...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/e0d3ae00
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/e0d3ae00
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/e0d3ae00
Branch: refs/heads/dev
Commit: e0d3ae00b755540d163f7845ca728349f1c0ae4d
Parents: e437369
Author: Yann Lugrin <ya...@liquid-concept.ch>
Authored: Wed Mar 26 10:59:25 2014 +0100
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Apr 21 17:48:20 2014 -0700
----------------------------------------------------------------------
src/ios/CDVReachability.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/e0d3ae00/src/ios/CDVReachability.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVReachability.m b/src/ios/CDVReachability.m
index 89f4ec9..c60261a 100644
--- a/src/ios/CDVReachability.m
+++ b/src/ios/CDVReachability.m
@@ -205,7 +205,7 @@ static void CDVReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkRe
return NotReachable;
}
- BOOL retVal = NotReachable;
+ NetworkStatus retVal = NotReachable;
if ((flags & kSCNetworkReachabilityFlagsConnectionRequired) == 0) {
// if target host is reachable and no connection is required