mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor fixes/tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28605 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e833003ca5
commit
80afb705cf
4 changed files with 184 additions and 158 deletions
|
@ -1463,10 +1463,11 @@ static NSURLProtocol *placeholder = nil;
|
|||
}
|
||||
if (event == NSStreamEventErrorOccurred)
|
||||
{
|
||||
NSLog(@"An error %@ occurred on stream %@ of %@",
|
||||
[stream streamError], stream, self);
|
||||
NSError *error = [[[stream streamError] retain] autorelease];
|
||||
|
||||
NSLog(@"An error %@ occurred on stream %@ of %@", error, stream, self);
|
||||
[self stopLoading];
|
||||
[this->client URLProtocol: self didFailWithError: [stream streamError]];
|
||||
[this->client URLProtocol: self didFailWithError: error];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue