mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
cleanup previous commit
This commit is contained in:
parent
5854464be2
commit
f5fcd2c169
@ -259,8 +259,8 @@ typedef struct ldapinfo_t {
|
||||
#define LDAP_BACK_FQ_RETRYING (2)
|
||||
|
||||
#define LDAP_BACK_QUARANTINE(li) ( (li)->li_quarantine.ri_num != NULL )
|
||||
ldap_back_quarantine_f li_quarantine_func;
|
||||
void *li_quarantine_arg;
|
||||
ldap_back_quarantine_f li_quarantine_f;
|
||||
void *li_quarantine_p;
|
||||
|
||||
time_t li_network_timeout;
|
||||
time_t li_conn_ttl;
|
||||
|
@ -885,9 +885,8 @@ ldap_back_quarantine(
|
||||
"%s: ldap_back_quarantine exit.\n",
|
||||
op->o_log_prefix, ri->ri_idx, ri->ri_count );
|
||||
|
||||
if ( li->li_quarantine_func ) {
|
||||
(void)li->li_quarantine_func( li,
|
||||
li->li_quarantine_arg );
|
||||
if ( li->li_quarantine_f ) {
|
||||
(void)li->li_quarantine_f( li, li->li_quarantine_p );
|
||||
}
|
||||
|
||||
ri->ri_count = 0;
|
||||
|
@ -288,8 +288,8 @@ typedef struct metainfo_t {
|
||||
slap_retry_info_t mi_quarantine;
|
||||
|
||||
#define META_BACK_QUARANTINE(mi) ( (mi)->mi_quarantine.ri_num != NULL )
|
||||
meta_back_quarantine_f mi_quarantine_func;
|
||||
meta_back_quarantine_f mi_quarantine_arg;
|
||||
meta_back_quarantine_f mi_quarantine_f;
|
||||
meta_back_quarantine_f mi_quarantine_p;
|
||||
|
||||
unsigned mi_flags;
|
||||
#define li_flags mi_flags
|
||||
|
@ -1429,9 +1429,9 @@ meta_back_quarantine(
|
||||
"%s: meta_back_quarantine exit.\n",
|
||||
op->o_log_prefix, ri->ri_idx, ri->ri_count );
|
||||
|
||||
if ( mi->mi_quarantine_func ) {
|
||||
(void)mi->mi_quarantine_func( mi, candidate,
|
||||
mi->mi_quarantine_arg );
|
||||
if ( mi->mi_quarantine_f ) {
|
||||
(void)mi->mi_quarantine_f( mi, candidate,
|
||||
mi->mi_quarantine_p );
|
||||
}
|
||||
|
||||
ri->ri_count = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user