From: Kurt Zeilenga Date: Fri, 4 Jun 1999 21:43:06 +0000 (+0000) Subject: Add diagnostics. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~404 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d3181b56b8b12a9dc6b106a95b76561919ed0183;p=openldap Add diagnostics. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 126b4b6d21..c7dc29d8aa 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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; }