From d3181b56b8b12a9dc6b106a95b76561919ed0183 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 4 Jun 1999 21:43:06 +0000 Subject: [PATCH] Add diagnostics. --- servers/slapd/connection.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.39.5