]> git.sur5r.net Git - openldap/commitdiff
slapi glue fix
authorKurt Zeilenga <kurt@openldap.org>
Tue, 15 Mar 2005 02:47:27 +0000 (02:47 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 15 Mar 2005 02:47:27 +0000 (02:47 +0000)
servers/slapd/result.c

index 2dfc11eb75e82fee6b32497c03db555b655ef955..f1abb5110b8970cc2a1af9b83cdd7adf807beb4b 100644 (file)
@@ -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 );