Skip to content

Commit a04d424

Browse files
committed
Use existing NSURLSessionTaskDelegate method
1 parent 6c6fd49 commit a04d424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Downloader.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTas
8484
return _params.completeCallback(_statusCode, _bytesWritten);
8585
}
8686

87-
- (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionTask *)downloadTask didCompleteWithError:(NSError *)error
87+
- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error
8888
{
8989
return _params.errorCallback(error);
9090
}

0 commit comments

Comments
 (0)