mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
tweak gnustls support for windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25918 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1cdce22b47
commit
2fa645b46d
2 changed files with 14 additions and 20 deletions
|
@ -147,11 +147,7 @@ static RunLoopEventType typeForStream(NSStream *aStream)
|
|||
{
|
||||
if (_currentStatus == NSStreamStatusNotOpen)
|
||||
{
|
||||
NSDebugMLog(@"Attempt to close unopened stream %@", self);
|
||||
}
|
||||
if (_currentStatus == NSStreamStatusClosed)
|
||||
{
|
||||
NSDebugMLog(@"Attempt to close already closed stream %@", self);
|
||||
NSDebugMLLog(@"NSStream", @"Attempt to close unopened stream %@", self);
|
||||
}
|
||||
[self _unschedule];
|
||||
[self _setStatus: NSStreamStatusClosed];
|
||||
|
@ -203,7 +199,7 @@ static RunLoopEventType typeForStream(NSStream *aStream)
|
|||
if (_currentStatus != NSStreamStatusNotOpen
|
||||
&& _currentStatus != NSStreamStatusOpening)
|
||||
{
|
||||
NSDebugMLog(@"Attempt to re-open stream %@", self);
|
||||
NSDebugMLLog(@"NSStream", @"Attempt to re-open stream %@", self);
|
||||
}
|
||||
[self _setStatus: NSStreamStatusOpen];
|
||||
[self _schedule];
|
||||
|
@ -392,7 +388,7 @@ static RunLoopEventType typeForStream(NSStream *aStream)
|
|||
|
||||
- (void) _recordError: (NSError*)anError
|
||||
{
|
||||
// NSLog(@"%@ - %@", self, anError);
|
||||
NSDebugMLLog(@"NSStream", @"record error: %@ - %@", self, anError);
|
||||
ASSIGN(_lastError, anError);
|
||||
_currentStatus = NSStreamStatusError;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue