Commit b4c2cf25 authored by Howard Chu's avatar Howard Chu
Browse files

Fairly sure this is what the TIMEOUT option should always have been for

parent 55b29bed
...@@ -275,6 +275,10 @@ wait4msg( ...@@ -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",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment