mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Avoid unnecessary error logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21837 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fec6b9ea6c
commit
07e5984282
2 changed files with 24 additions and 10 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-10-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* SSL/GSSSLHandle.m: Don't output log/warning on accept/connect
|
||||
failure if it's just a timeout or disconnect.
|
||||
|
||||
2005-10-17 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSNumberFormatter.m
|
||||
|
@ -5,7 +10,7 @@
|
|||
stringForObjectValue:): Respect the settings for decimal and
|
||||
thousands separators. Still a very basic implementation.
|
||||
|
||||
2005-10-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
2005-10-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSPathUtilities.m: Simplify by removing options for
|
||||
redefining user home directories. Add code to use gnumake format
|
||||
|
|
|
@ -266,11 +266,16 @@ sslError(int err, int e)
|
|||
RELEASE(final);
|
||||
if (err != SSL_ERROR_NONE)
|
||||
{
|
||||
NSString *str = sslError(err, e);
|
||||
if (err != SSL_ERROR_WANT_READ && err != SSL_ERROR_WANT_WRITE)
|
||||
{
|
||||
/*
|
||||
* Some other error ... not just a timeout or disconnect
|
||||
*/
|
||||
NSLog(@"unable to accept SSL connection from %@:%@ - %@",
|
||||
address, service, sslError(err, e));
|
||||
|
||||
NSLog(@"unable to accept SSL connection from %@:%@ - %@",
|
||||
address, service, str);
|
||||
ERR_print_errors_fp(stderr);
|
||||
ERR_print_errors_fp(stderr);
|
||||
}
|
||||
RELEASE(self);
|
||||
return NO;
|
||||
}
|
||||
|
@ -367,11 +372,15 @@ ERR_print_errors_fp(stderr);
|
|||
RELEASE(final);
|
||||
if (err != SSL_ERROR_NONE)
|
||||
{
|
||||
NSString *str = sslError(err, e);
|
||||
|
||||
NSLog(@"unable to make SSL connection to %@:%@ - %@",
|
||||
address, service, str);
|
||||
ERR_print_errors_fp(stderr);
|
||||
if (err != SSL_ERROR_WANT_READ && err != SSL_ERROR_WANT_WRITE)
|
||||
{
|
||||
/*
|
||||
* Some other error ... not just a timeout or disconnect
|
||||
*/
|
||||
NSLog(@"unable to make SSL connection to %@:%@ - %@",
|
||||
address, service, sslError(err, e));
|
||||
ERR_print_errors_fp(stderr);
|
||||
}
|
||||
RELEASE(self);
|
||||
return NO;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue