mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-01 11:29:27 -05:00
Add diagnostics.
This commit is contained in:
parent
22e981eef3
commit
d3181b56b8
1 changed files with 6 additions and 0 deletions
|
|
@ -211,6 +211,9 @@ long connection_init(
|
|||
assert( connections != NULL );
|
||||
|
||||
if( s < 0 ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"connection_init(%d): invalid.\n",
|
||||
s );
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
@ -247,6 +250,9 @@ long connection_init(
|
|||
}
|
||||
|
||||
if( c == NULL ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"connection_init(%d): connection table full (%d/%d).\n",
|
||||
s, i, dtblsize);
|
||||
ldap_pvt_thread_mutex_unlock( &connections_mutex );
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue