Blind fix to runqueue_remove assert. unable to reproduce the problem...

This commit is contained in:
Howard Chu 2009-01-24 21:56:15 +00:00
parent bf261acda7
commit aedaaf6658

View File

@ -1406,7 +1406,10 @@ reload:
if ( !si->si_ctype
|| !si->si_retrynum || si->si_retrynum[i] == RETRYNUM_TAIL ) {
ldap_pvt_runqueue_remove( &slapd_rq, rtask );
if ( si->si_re ) {
ldap_pvt_runqueue_remove( &slapd_rq, rtask );
si->si_re = NULL;
}
fail = RETRYNUM_TAIL;
} else if ( RETRYNUM_VALID( si->si_retrynum[i] ) ) {
if ( si->si_retrynum[i] > 0 )