Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
e1d45c64
Commit
e1d45c64
authored
Apr 14, 2003
by
Howard Chu
Browse files
doPlugins return code fix
parent
3aabc4ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/delete.c
View file @
e1d45c64
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment