Skip to content
Snippets Groups Projects
Commit e6e694be authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

Overlay result is in rs->sr_err

parent 39b7e149
No related branches found
No related tags found
No related merge requests found
...@@ -251,7 +251,6 @@ static int sock_over_op( ...@@ -251,7 +251,6 @@ static int sock_over_op(
slap_callback *sc; slap_callback *sc;
struct sockinfo *si; struct sockinfo *si;
slap_operation_t which; slap_operation_t which;
int rc;
switch (op->o_tag) { switch (op->o_tag) {
case LDAP_REQ_BIND: which = op_bind; break; case LDAP_REQ_BIND: which = op_bind; break;
...@@ -272,10 +271,10 @@ static int sock_over_op( ...@@ -272,10 +271,10 @@ static int sock_over_op(
op->o_bd->be_private = si; op->o_bd->be_private = si;
sc = op->o_callback; sc = op->o_callback;
op->o_callback = NULL; op->o_callback = NULL;
rc = sockfuncs[which]( op, rs ); sockfuncs[which]( op, rs );
op->o_bd->be_private = private; op->o_bd->be_private = private;
op->o_callback = sc; op->o_callback = sc;
return rc; return rs->sr_err;
} }
static int static int
......
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