mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 14:10:39 -05:00
doPlugins return code fix
This commit is contained in:
parent
3aabc4ed43
commit
e1d45c64e0
1 changed files with 2 additions and 2 deletions
|
|
@ -156,7 +156,7 @@ do_delete(
|
|||
slapi_pblock_set( pb, SLAPI_MANAGEDSAIT, (void *)manageDSAit );
|
||||
|
||||
rs->sr_err = doPluginFNs( op->o_bd, SLAPI_PLUGIN_PRE_DELETE_FN, pb );
|
||||
if ( rs->sr_err != 0 ) {
|
||||
if ( rs->sr_err < 0 ) {
|
||||
/*
|
||||
* A preoperation plugin failure will abort the
|
||||
* entire operation.
|
||||
|
|
@ -216,7 +216,7 @@ do_delete(
|
|||
}
|
||||
|
||||
#if defined( LDAP_SLAPI )
|
||||
if ( doPluginFNs( op->o_bd, SLAPI_PLUGIN_POST_DELETE_FN, pb ) != 0) {
|
||||
if ( doPluginFNs( op->o_bd, SLAPI_PLUGIN_POST_DELETE_FN, pb ) < 0) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( OPERATION, INFO, "do_delete: delete postoperation plugins "
|
||||
"failed\n", 0, 0, 0 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue