Skip to content

Commit

Permalink
Issue #463 Adding #ifdef around AFHTTPClient copyWithZone: use of net…
Browse files Browse the repository at this point in the history
…work reachability status block
  • Loading branch information
mattt committed Aug 16, 2012
1 parent c7df7ea commit 84abd71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AFNetworking/AFHTTPClient.m
Expand Up @@ -699,8 +699,9 @@ - (id)copyWithZone:(NSZone *)zone {
HTTPClient.parameterEncoding = self.parameterEncoding;
HTTPClient.registeredHTTPOperationClassNames = [[self.registeredHTTPOperationClassNames copyWithZone:zone] autorelease];
HTTPClient.defaultHeaders = [[self.defaultHeaders copyWithZone:zone] autorelease];
#ifdef _SYSTEMCONFIGURATION_H
HTTPClient.networkReachabilityStatusBlock = self.networkReachabilityStatusBlock;
#endif
return HTTPClient;
}

Expand Down

0 comments on commit 84abd71

Please sign in to comment.