Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Version 1.2.1

  • Loading branch information...
commit 0bac79f08ad35434c81bbe6dcead809b0a67745d 1 parent 36d55a6
@GlennChiu authored
Showing with 4 additions and 3 deletions.
  1. +1 −1  GCNetworkReachability.h
  2. +3 −2 GCNetworkReachability.m
View
2  GCNetworkReachability.h
@@ -2,7 +2,7 @@
// Created by Glenn Chiu on 26/09/2012.
// Copyright (c) 2012 Glenn Chiu. All rights reserved.
//
-// Version 1.2
+// Version 1.2.1
// This code is distributed under the terms and conditions of the MIT license.
View
5 GCNetworkReachability.m
@@ -2,7 +2,7 @@
// Created by Glenn Chiu on 26/09/2012.
// Copyright (c) 2012 Glenn Chiu. All rights reserved.
//
-// Version 1.2
+// Version 1.2.1
// This code is distributed under the terms and conditions of the MIT license.
@@ -352,7 +352,8 @@ static void GCNetworkReachabilityGetFlags(void *context)
if (!SCNetworkReachabilityGetFlags(ctx->target, ctx->value))
{
GCNRLog(@"SCNetworkReachabilityGetFlags() failed with error code: %s", SCErrorString(SCError()));
- ctx->value = 0;
+ uint32_t zeroVal = 0;
+ ctx->value = &zeroVal;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.