cleanup previous commit

This commit is contained in:
Pierangelo Masarati 2006-05-30 00:12:23 +00:00
parent 5854464be2
commit f5fcd2c169
4 changed files with 9 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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;