mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
ITS#6758 Remove comment; broken rs.sr_type idea
This commit is contained in:
parent
fb6aa52870
commit
ecc19f03a0
@ -1448,16 +1448,6 @@ error_return:;
|
|||||||
}
|
}
|
||||||
rs->sr_attr_flags = SLAP_ATTRS_UNDEFINED;
|
rs->sr_attr_flags = SLAP_ATTRS_UNDEFINED;
|
||||||
|
|
||||||
/* FIXME: I think rs->sr_type should be explicitly set to
|
|
||||||
* REP_SEARCH here. That's what it was when we entered this
|
|
||||||
* function. send_ldap_error may have changed it, but we
|
|
||||||
* should set it back so that the cleanup functions know
|
|
||||||
* what they're doing.
|
|
||||||
*
|
|
||||||
* ...No, that's what we set it to on entering this function.
|
|
||||||
* And we may have to clear out rs->sr_un.sru_search first,
|
|
||||||
* if it can contain data from sr_un.sru_extended.
|
|
||||||
*/
|
|
||||||
if ( op->o_tag == LDAP_REQ_SEARCH && rs->sr_type == REP_SEARCH ) {
|
if ( op->o_tag == LDAP_REQ_SEARCH && rs->sr_type == REP_SEARCH ) {
|
||||||
rs_flush_entry( op, rs, NULL );
|
rs_flush_entry( op, rs, NULL );
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user