Commit d3181b56 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add diagnostics.

parent 22e981ee
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment