Fixing property setters for authentication block properties

This commit is contained in:
Mattt Thompson 2012-02-14 09:13:03 -08:00
parent 17f55849d9
commit 7f413b3c38

View file

@ -232,11 +232,11 @@ static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperat
} }
- (void)setAuthenticationAgainstProtectionSpaceBlock:(BOOL (^)(NSURLConnection *, NSURLProtectionSpace *))block { - (void)setAuthenticationAgainstProtectionSpaceBlock:(BOOL (^)(NSURLConnection *, NSURLProtectionSpace *))block {
self.authenticationAgainstProtectionSpaceBlock = block; self.authenticationAgainstProtectionSpace = block;
} }
- (void)setAuthenticationChallengeBlock:(void (^)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge))block { - (void)setAuthenticationChallengeBlock:(void (^)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge))block {
self.authenticationChallengeBlock = block; self.authenticationChallenge = block;
} }
- (void)setState:(AFOperationState)state { - (void)setState:(AFOperationState)state {