Skip to content
Snippets Groups Projects
Commit 826de964 authored by Howard Chu's avatar Howard Chu
Browse files

Minor cleanup

parent 14f2ebe1
No related branches found
No related tags found
No related merge requests found
......@@ -315,9 +315,7 @@ glue_back_search ( Operation *op, SlapReply *rs )
* check for abandon
*/
if (op->o_abandon) {
op->o_req_dn = dn;
op->o_req_ndn = ndn;
goto done;
goto end_of_loop;
}
op->o_bd = gi->n[i].be;
......@@ -367,14 +365,15 @@ end_of_loop:;
break;
}
op->o_callback = cb.sc_next;
rs->sr_err = gs.err;
rs->sr_matched = gs.matched;
rs->sr_ref = gs.refs;
if ( !op->o_abandon ) {
op->o_callback = cb.sc_next;
rs->sr_err = gs.err;
rs->sr_matched = gs.matched;
rs->sr_ref = gs.refs;
send_ldap_result( op, rs );
send_ldap_result( op, rs );
}
done:
op->o_bd = b0;
if (gs.matched)
free (gs.matched);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment