Add trace to connection_get() to aid debugging.

This commit is contained in:
Kurt Zeilenga 1999-03-22 19:39:54 +00:00
parent 4b65e74fa8
commit f8b9b03d53

View file

@ -107,7 +107,13 @@ static Connection* connection_get( int s )
}
}
#endif
if( c != NULL ) {
/* we do this BEFORE locking to aid in debugging */
Debug( LDAP_DEBUG_TRACE,
"connection_get(%d): got connid=%ld\n",
s, c->c_connid, 0 );
ldap_pvt_thread_mutex_lock( &c->c_mutex );
}
return c;