Permalink
Browse files

Add setReachabilityStatusChangeBlock to AFHTTPClient initialization

  • Loading branch information...
1 parent d5d44f6 commit fa01557f4a130ac614bf02e2bcd13070219a25f1 @mattt mattt committed Mar 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 AFNetworking/AFHTTPClient.m
@@ -259,7 +259,7 @@ - (id)initWithBaseURL:(NSURL *)url {
#ifdef _SYSTEMCONFIGURATION_H
self.networkReachabilityStatus = AFNetworkReachabilityStatusUnknown;
- [self startMonitoringNetworkReachability];
+ [self setReachabilityStatusChangeBlock:nil];
#endif
self.operationQueue = [[[NSOperationQueue alloc] init] autorelease];

0 comments on commit fa01557

Please sign in to comment.