mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Merge pull request #234 from svgol/bug_NSURL_using_cache
use handle from the cache only if the caller asked
This commit is contained in:
commit
3e6284ab39
1 changed files with 1 additions and 1 deletions
|
@ -1577,7 +1577,7 @@ static NSUInteger urlAlign;
|
|||
- (void) loadResourceDataNotifyingClient: (id)client
|
||||
usingCache: (BOOL)shouldUseCache
|
||||
{
|
||||
NSURLHandle *handle = [self URLHandleUsingCache: YES];
|
||||
NSURLHandle *handle = [self URLHandleUsingCache: shouldUseCache];
|
||||
NSData *d;
|
||||
|
||||
if (shouldUseCache == YES && (d = [handle availableResourceData]) != nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue