mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 16:22:53 -05:00
Fairly sure this is what the TIMEOUT option should always have been for
This commit is contained in:
parent
55b29bedf8
commit
b4c2cf250d
1 changed files with 4 additions and 0 deletions
|
|
@ -275,6 +275,10 @@ wait4msg(
|
|||
LDAP_PVT_THREAD_ASSERT_MUTEX_OWNER( &ld->ld_res_mutex );
|
||||
#endif
|
||||
|
||||
if ( timeout == NULL ) {
|
||||
timeout = ld->ld_options.ldo_tm_api;
|
||||
}
|
||||
|
||||
#ifdef LDAP_DEBUG
|
||||
if ( timeout == NULL ) {
|
||||
Debug( LDAP_DEBUG_TRACE, "wait4msg ld %p msgid %d (infinite timeout)\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue