From: Howard Chu Date: Fri, 4 Feb 2011 17:36:49 +0000 (+0000) Subject: Overlay result is in rs->sr_err X-Git-Tag: MIGRATION_CVS2GIT~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=09cd5ebc4edcb42478aefcffb06eecf057330281;p=openldap Overlay result is in rs->sr_err --- 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