cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject git commit: CB-6350 - Fix networkStatusForFlags return value type to work with 64-bit iOS (closes #8)
Date Tue, 22 Apr 2014 00:51:06 GMT
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 <shazron@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 <yann.lugrin@liquid-concept.ch>
Authored: Wed Mar 26 10:59:25 2014 +0100
Committer: Shazron Abdullah <shazron@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


Mime
View raw message