mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Fairly sure this is what the TIMEOUT option should always have been for
This commit is contained in:
parent
55b29bedf8
commit
b4c2cf250d
@ -275,6 +275,10 @@ wait4msg(
|
|||||||
LDAP_PVT_THREAD_ASSERT_MUTEX_OWNER( &ld->ld_res_mutex );
|
LDAP_PVT_THREAD_ASSERT_MUTEX_OWNER( &ld->ld_res_mutex );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if ( timeout == NULL ) {
|
||||||
|
timeout = ld->ld_options.ldo_tm_api;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef LDAP_DEBUG
|
#ifdef LDAP_DEBUG
|
||||||
if ( timeout == NULL ) {
|
if ( timeout == NULL ) {
|
||||||
Debug( LDAP_DEBUG_TRACE, "wait4msg ld %p msgid %d (infinite timeout)\n",
|
Debug( LDAP_DEBUG_TRACE, "wait4msg ld %p msgid %d (infinite timeout)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user