Skip to content
Snippets Groups Projects
Commit f8b9b03d authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add trace to connection_get() to aid debugging.

parent 4b65e74f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment