Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add print debug flag in header

  • Loading branch information...
commit ba9048c8638bfb345812bbe0461644fc07669b69 1 parent bf2a1f5
@GlennChiu authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 GCNetworkReachability.h
View
4 GCNetworkReachability.h
@@ -2,7 +2,7 @@
// Created by Glenn Chiu on 26/09/2012.
// Copyright (c) 2012 Glenn Chiu. All rights reserved.
//
-// Version 1.0
+// Version 1.1
// This code is distributed under the terms and conditions of the MIT license.
@@ -30,6 +30,8 @@
#import <SystemConfiguration/SystemConfiguration.h>
#import <netinet/in.h>
+#define PRINT_REACHABILITY_FLAG_STATUS 1
+
@orj
orj added a note

Shouldn't this be off by default?

@GlennChiu Owner

Why should it be off by default?

@orj
orj added a note

Oh just because it clutters the log. Really only useful for debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
typedef enum : unsigned char
{
GCNetworkReachabilityStatusNotReachable = (1 << 0),
Please sign in to comment.
Something went wrong with that request. Please try again.