mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Add trace to connection_get() to aid debugging.
This commit is contained in:
parent
4b65e74fa8
commit
f8b9b03d53
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue