Add diagnostics.

This commit is contained in:
Kurt Zeilenga 1999-06-04 21:43:06 +00:00
parent 22e981eef3
commit d3181b56b8

View file

@ -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;
}