Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fixing indentation of #225
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Mar 1, 2012
1 parent 09401f9 commit f489189
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AFNetworking/AFURLConnectionOperation.m
Expand Up @@ -356,9 +356,9 @@ - (void)cancelConnection {

// Manually send this delegate message since `[self.connection cancel]` causes the connection to never send another message to its delegate
NSDictionary *userInfo = nil;
if (self.request.URL) {
userInfo = [NSDictionary dictionaryWithObject:[self.request URL] forKey:NSURLErrorFailingURLErrorKey];
}
if ([self.request URL]) {
userInfo = [NSDictionary dictionaryWithObject:[self.request URL] forKey:NSURLErrorFailingURLErrorKey];
}
[self performSelector:@selector(connection:didFailWithError:) withObject:self.connection withObject:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorCancelled userInfo:userInfo]];
}
}
Expand Down

0 comments on commit f489189

Please sign in to comment.