Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
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