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:
Richard Frith-Macdonald 2004-01-13 09:21:45 +00:00
parent 9ea29bc91f
commit 89c41e2f32
2 changed files with 7 additions and 5 deletions

View file

@ -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;
}