mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor fix for problem reported by J.Aaron Prendergrass
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18403 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ab2e483374
commit
52fd51a940
2 changed files with 7 additions and 5 deletions
|
@ -243,14 +243,10 @@ static Class NSURLHandleClass = 0;
|
|||
/**
|
||||
* Returns the resource data that is currently available for the
|
||||
* handle. This may be a partially loaded resource or may be
|
||||
* empty of no data has been loaded yet.
|
||||
* empty if no data has been loaded yet or the last load failed.
|
||||
*/
|
||||
- (NSData*) availableResourceData
|
||||
{
|
||||
if (_status == NSURLHandleLoadInProgress)
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
return _data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue