mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
improve debug logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37713 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8a1baba4d8
commit
0481834326
1 changed files with 5 additions and 5 deletions
|
@ -1557,13 +1557,13 @@ static NSMutableDictionary *credentialsCache = nil;
|
|||
ASSIGN(problem, p);
|
||||
if (YES == debug)
|
||||
{
|
||||
NSLog(@"%@ %@", self, p);
|
||||
NSLog(@"%@ in handshake: %@", self, p);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ASSIGN(problem, p);
|
||||
NSLog(@"%@ %@", self, p);
|
||||
NSLog(@"%@ in handshake: %@", self, p);
|
||||
}
|
||||
[self disconnect: NO];
|
||||
return YES; // Failed ... not active.
|
||||
|
@ -1645,7 +1645,7 @@ static NSMutableDictionary *credentialsCache = nil;
|
|||
ASSIGN(problem, p);
|
||||
if (YES == debug)
|
||||
{
|
||||
NSLog(@"%@ %@", self, p);
|
||||
NSLog(@"%@ in read: %@", self, p);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1656,7 +1656,7 @@ static NSMutableDictionary *credentialsCache = nil;
|
|||
{
|
||||
p = [NSString stringWithFormat: @"%s",
|
||||
gnutls_alert_get_name(gnutls_alert_get(session))];
|
||||
NSLog(@"%@ %@", self, p);
|
||||
NSLog(@"%@ in read: %@", self, p);
|
||||
}
|
||||
}
|
||||
errno = EAGAIN; // Need to retry.
|
||||
|
@ -1688,7 +1688,7 @@ static NSMutableDictionary *credentialsCache = nil;
|
|||
ASSIGN(problem, p);
|
||||
if (YES == debug)
|
||||
{
|
||||
NSLog(@"%@ %@", self, p);
|
||||
NSLog(@"%@ in write: %@", self, p);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue