From 6c5d38009b9a45b666e679b9134a6e7e2b214dac Mon Sep 17 00:00:00 2001 From: Tony Million Date: Mon, 2 Jan 2012 13:00:10 +0000 Subject: [PATCH] NSLog things --- Reachability.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Reachability.m b/Reachability.m index 65ccab8..becdb74 100644 --- a/Reachability.m +++ b/Reachability.m @@ -177,7 +177,7 @@ -(BOOL)startNotifier if (!SCNetworkReachabilitySetCallback(self.reachabilityRef, TMReachabilityCallback, &context)) { #ifdef DEBUG - NSLog(@"SCNetworkReachabilitySetCallback() failed: %s\n", SCErrorString(SCError())); + NSLog(@"SCNetworkReachabilitySetCallback() failed: %s", SCErrorString(SCError())); #endif return NO; } @@ -420,7 +420,7 @@ -(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags if(self.reachableBlock) { #ifdef DEBUG - NSLog(@"Reachability: blocks are not called on the main thread.\n Use dispatch_async(dispatch_get_main_queue(), ^{}] to update your UI!"); + NSLog(@"Reachability: blocks are not called on the main thread.\n Use dispatch_async(dispatch_get_main_queue(), ^{}); to update your UI!"); #endif self.reachableBlock(self); } @@ -430,7 +430,7 @@ -(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags if(self.unreachableBlock) { #ifdef DEBUG - NSLog(@"Reachability: blocks are not called on the main thread.\n Use dispatch_async(dispatch_get_main_queue(), ^{}] to update your UI!"); + NSLog(@"Reachability: blocks are not called on the main thread.\n Use dispatch_async(dispatch_get_main_queue(), ^{}); to update your UI!"); #endif self.unreachableBlock(self); }