mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +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
9ea29bc91f
commit
89c41e2f32
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>
|
||||
|
||||
* SSL/GNUmakefile: Include ../config.mak
|
||||
|
|
|
@ -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…
Reference in a new issue