mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
ITS#8698 Only remove our own callback
This commit is contained in:
parent
c5022c9041
commit
0df931b98b
@ -289,7 +289,7 @@ old_good:
|
|||||||
rs->sr_err = LDAP_OTHER;
|
rs->sr_err = LDAP_OTHER;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
slap_callback *sc = op->o_callback;
|
slap_callback **sc;
|
||||||
|
|
||||||
op->o_tag = LDAP_REQ_MODIFY;
|
op->o_tag = LDAP_REQ_MODIFY;
|
||||||
op->o_callback = &cb;
|
op->o_callback = &cb;
|
||||||
@ -312,7 +312,12 @@ old_good:
|
|||||||
rsp = NULL;
|
rsp = NULL;
|
||||||
}
|
}
|
||||||
op->o_tag = LDAP_REQ_EXTENDED;
|
op->o_tag = LDAP_REQ_EXTENDED;
|
||||||
op->o_callback = sc;
|
for ( sc = &op->o_callback; *sc; sc = &(*sc)->sc_next ) {
|
||||||
|
if ( *sc == &cb ) {
|
||||||
|
*sc = cb.sc_next;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = rs->sr_err;
|
rc = rs->sr_err;
|
||||||
|
Loading…
Reference in New Issue
Block a user