mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-04-27 15:07:44 +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 {
|
- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {
|
||||||
if ([response isKindOfClass:[NSHTTPURLResponse class]]) {
|
if ([response isKindOfClass:[NSHTTPURLResponse class]]) {
|
||||||
[httpURLResponse release];
|
[httpURLResponse release];
|
||||||
httpURLResponse = [response retain];
|
httpURLResponse = (NSHTTPURLResponse *)[response retain];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
- (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite {
|
- (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue