Merge pull request #735 from nickhingston/pullRequestBranch
If NSURLConnection response statusCode not valid (e.g. 404) , downloader...
This commit is contained in:
commit
4566b67f98
|
|
@ -203,7 +203,7 @@
|
|||
if (self.completedBlock) {
|
||||
self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:[((NSHTTPURLResponse *)response) statusCode] userInfo:nil], YES);
|
||||
}
|
||||
|
||||
CFRunLoopStop(CFRunLoopGetCurrent());
|
||||
[self done];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue