From 09cd5ebc4edcb42478aefcffb06eecf057330281 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 4 Feb 2011 17:36:49 +0000 Subject: [PATCH] Overlay result is in rs->sr_err --- servers/slapd/back-sock/config.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-sock/config.c b/servers/slapd/back-sock/config.c index 92f5f56e50..4f2f3d7db6 100644 --- a/servers/slapd/back-sock/config.c +++ b/servers/slapd/back-sock/config.c @@ -251,7 +251,6 @@ static int sock_over_op( slap_callback *sc; struct sockinfo *si; slap_operation_t which; - int rc; switch (op->o_tag) { case LDAP_REQ_BIND: which = op_bind; break; @@ -272,10 +271,10 @@ static int sock_over_op( op->o_bd->be_private = si; sc = op->o_callback; op->o_callback = NULL; - rc = sockfuncs[which]( op, rs ); + sockfuncs[which]( op, rs ); op->o_bd->be_private = private; op->o_callback = sc; - return rc; + return rs->sr_err; } static int -- 2.39.5