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