Revision: 23982
http://sourceforge.net/p/bibdesk/svn/23982
Author: hofman
Date: 2019-07-09 18:04:34 +0000 (Tue, 09 Jul 2019)
Log Message:
-----------
no need for typing
Modified Paths:
--------------
trunk/bibdesk/BDSKDownloader.m
Modified: trunk/bibdesk/BDSKDownloader.m
===================================================================
--- trunk/bibdesk/BDSKDownloader.m 2019-07-09 18:03:46 UTC (rev 23981)
+++ trunk/bibdesk/BDSKDownloader.m 2019-07-09 18:04:34 UTC (rev 23982)
@@ -109,13 +109,13 @@
- (void)download:(BDSKDownload *)download
didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge
completionHandler:(void (^)(BDSKDownloaderAuthChallengeDisposition disposition,
NSURLCredential *credential))completionHandler {
id<BDSKDownloaderDelegate> delegate = [download delegate];
if ([delegate
respondsToSelector:@selector(downloader:download:didReceiveChallenge:completionHandler:)])
{
- [delegate downloader:self download:download
didReceiveChallenge:challenge completionHandler:(void
(^)(BDSKDownloaderAuthChallengeDisposition disposition, NSURLCredential
*credential))completionHandler];
+ [delegate downloader:self download:download
didReceiveChallenge:challenge completionHandler:completionHandler];
} else {
NSWindow *window = nil;
if ([delegate
respondsToSelector:@selector(downloader:downloadWindowForAuthenticationSheet:)])
{
window = [delegate downloader:self
downloadWindowForAuthenticationSheet:download];
}
- [[BDSKAuthenticationHandler sharedHandler]
startAuthentication:challenge window:window completionHandler:(void
(^)(BDSKDownloaderAuthChallengeDisposition disposition, NSURLCredential
*credential))completionHandler];
+ [[BDSKAuthenticationHandler sharedHandler]
startAuthentication:challenge window:window
completionHandler:completionHandler];
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit