mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
|
@ -1,3 +1,9 @@
|
||||||
|
2004-01-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSURLHandle.m: ([-availableResourceData]) remove condition
|
||||||
|
that returns nil while resource is loading. Fix typo in method
|
||||||
|
description.
|
||||||
|
|
||||||
2004-01-12 Adam Fedor <fedor@gnu.org>
|
2004-01-12 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* SSL/GNUmakefile: Include ../config.mak
|
* SSL/GNUmakefile: Include ../config.mak
|
||||||
|
|
|
@ -243,14 +243,10 @@ static Class NSURLHandleClass = 0;
|
||||||
/**
|
/**
|
||||||
* Returns the resource data that is currently available for the
|
* Returns the resource data that is currently available for the
|
||||||
* handle. This may be a partially loaded resource or may be
|
* 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
|
- (NSData*) availableResourceData
|
||||||
{
|
{
|
||||||
if (_status == NSURLHandleLoadInProgress)
|
|
||||||
{
|
|
||||||
return nil;
|
|
||||||
}
|
|
||||||
return _data;
|
return _data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue