mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix double load of data in some circumstances.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24145 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
beb412e72d
commit
f8a3829fa8
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2006-11-21 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSURL.m:
|
||||
Fix potential double load of URL data.
|
||||
* unix/NSStream.m:
|
||||
* win32/NSStreamWin32.m:
|
||||
Re-use socket ports so that programs can start up again immediately
|
||||
|
|
|
@ -1389,7 +1389,7 @@ static unsigned urlAlign;
|
|||
[loop runMode: NSDefaultRunLoopMode beforeDate: future];
|
||||
}
|
||||
}
|
||||
data = [handle resourceData];
|
||||
data = [handle availableResourceData];
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue