Permalink
Browse files

Version 1.2.1

  • Loading branch information...
1 parent 36d55a6 commit 0bac79f08ad35434c81bbe6dcead809b0a67745d @GlennChiu committed Nov 6, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −1 GCNetworkReachability.h
  2. +3 −2 GCNetworkReachability.m
View
@@ -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
@@ -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;
}
}

0 comments on commit 0bac79f

Please sign in to comment.