mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
cast NSHTTPURLResponse
This commit is contained in:
parent
f907244695
commit
80d3d0a6da
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ static NSString *RUN_LOOP_MODE = @"HTTPConnectionRunLoopMode";
|
|||
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {
|
||||
if ([response isKindOfClass:[NSHTTPURLResponse class]]) {
|
||||
[httpURLResponse release];
|
||||
httpURLResponse = [response retain];
|
||||
httpURLResponse = (NSHTTPURLResponse *)[response retain];
|
||||
}
|
||||
}
|
||||
- (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite {
|
||||
|
|
|
|||
Loading…
Reference in a new issue