From 32973c4c8548ef37678dbd47bc9042acc8553357 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 24 Nov 2017 13:11:41 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20an=20ambiguous=20call=20to=20download=20i?= =?UTF-8?q?n=20DownloadWithCacheManager.=20I=E2=80=99m=20honestly=20not=20?= =?UTF-8?q?sure=20what=20function=20would=20have=20been=20called.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/RSWeb/RSWeb/OneShotDownload.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/RSWeb/RSWeb/OneShotDownload.swift b/Frameworks/RSWeb/RSWeb/OneShotDownload.swift index 3d8ca9c95..65f5f858b 100755 --- a/Frameworks/RSWeb/RSWeb/OneShotDownload.swift +++ b/Frameworks/RSWeb/RSWeb/OneShotDownload.swift @@ -127,7 +127,7 @@ private final class DownloadWithCacheManager { return } - download(url) { (data, response, error) in + OneShotDownloadManager.shared.download(url) { (data, response, error) in if let _ = error, let cacheRecord = cacheRecord { // In the case where a cache record has expired, but the download returned an error, we use the cache record anyway. By design.