From: Kurt Zeilenga Date: Tue, 15 Mar 2005 02:47:27 +0000 (+0000) Subject: slapi glue fix X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b3c521083ad71a3afbc858f49aaf8e50312284f;p=openldap slapi glue fix --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 2dfc11eb75..f1abb5110b 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -579,7 +579,7 @@ slap_send_ldap_result( Operation *op, SlapReply *rs ) * should just set SLAPI_RESULT_CODE rather than sending a * result if they wish to change the result. */ - if ( op->o_pb != NULL ) { + if ( op->o_callback == NULL && op->o_pb != NULL ) { slapi_int_pblock_set_operation( op->o_pb, op ); slapi_pblock_set( op->o_pb, SLAPI_RESULT_CODE, (void *)rs->sr_err );