Permalink
Browse files

Add print debug flag in header

  • Loading branch information...
1 parent bf2a1f5 commit ba9048c8638bfb345812bbe0461644fc07669b69 @GlennChiu committed Oct 24, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 GCNetworkReachability.h
View
@@ -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 Oct 30, 2012

Shouldn't this be off by default?

@GlennChiu

GlennChiu Oct 30, 2012

Owner

Why should it be off by default?

@orj

orj Oct 31, 2012

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

typedef enum : unsigned char
{
GCNetworkReachabilityStatusNotReachable = (1 << 0),

0 comments on commit ba9048c

Please sign in to comment.