mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
cleanup
This commit is contained in:
parent
51e1ab59cd
commit
0a465343fb
@ -340,7 +340,7 @@ static int
|
|||||||
ldap_chain_op(
|
ldap_chain_op(
|
||||||
Operation *op,
|
Operation *op,
|
||||||
SlapReply *rs,
|
SlapReply *rs,
|
||||||
int ( *op_f )( Operation *op, SlapReply *rs ),
|
BI_op_func *op_f,
|
||||||
BerVarray ref )
|
BerVarray ref )
|
||||||
{
|
{
|
||||||
slap_overinst *on = (slap_overinst *) op->o_bd->bd_info;
|
slap_overinst *on = (slap_overinst *) op->o_bd->bd_info;
|
||||||
@ -446,7 +446,7 @@ Document: draft-ietf-ldapbis-protocol-27.txt
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = ( *op_f )( op, rs );
|
rc = op_f( op, rs );
|
||||||
|
|
||||||
cleanup:;
|
cleanup:;
|
||||||
ldap_memfree( li.li_uri );
|
ldap_memfree( li.li_uri );
|
||||||
@ -751,7 +751,7 @@ cleanup:;
|
|||||||
/* FIXME: ldap_back_extended() by design
|
/* FIXME: ldap_back_extended() by design
|
||||||
* doesn't send result; frontend is expected
|
* doesn't send result; frontend is expected
|
||||||
* to send it... */
|
* to send it... */
|
||||||
/* FIXME: what aboit chaining? */
|
/* FIXME: what about chaining? */
|
||||||
if ( rc != SLAPD_ABANDON ) {
|
if ( rc != SLAPD_ABANDON ) {
|
||||||
send_ldap_extended( op, rs );
|
send_ldap_extended( op, rs );
|
||||||
rc = LDAP_SUCCESS;
|
rc = LDAP_SUCCESS;
|
||||||
@ -771,9 +771,11 @@ cleanup:;
|
|||||||
case LDAP_SUCCESS:
|
case LDAP_SUCCESS:
|
||||||
case LDAP_REFERRAL:
|
case LDAP_REFERRAL:
|
||||||
/* slapd-ldap sent response */
|
/* slapd-ldap sent response */
|
||||||
if ( !op->o_abandon ) {
|
if ( !op->o_abandon && sc2.sc_private != LDAP_CH_RES ) {
|
||||||
/* FIXME: should we send response? */
|
/* FIXME: should we send response? */
|
||||||
Debug( LDAP_DEBUG_ANY, "%s: ldap_chain_response: overlay should have sent result.\n",
|
Debug( LDAP_DEBUG_ANY,
|
||||||
|
"%s: ldap_chain_response: "
|
||||||
|
"overlay should have sent result.\n",
|
||||||
op->o_log_prefix, 0, 0 );
|
op->o_log_prefix, 0, 0 );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user