Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
4d85c307
Commit
4d85c307
authored
May 12, 2006
by
Howard Chu
Browse files
ITS#4453 don't print error message on stdout
parent
ff40a705
Changes
1
Hide whitespace changes
Inline
Side-by-side
clients/tools/ldapdelete.c
View file @
4d85c307
...
...
@@ -261,8 +261,10 @@ static int dodelete(
return
rc
;
}
if
(
verbose
||
code
!=
LDAP_SUCCESS
||
(
matcheddn
&&
*
matcheddn
)
||
(
text
&&
*
text
)
||
(
refs
&&
*
refs
)
)
if
(
code
!=
LDAP_SUCCESS
)
{
tool_perror
(
"ldap_delete"
,
code
,
NULL
,
matcheddn
,
text
,
refs
);
}
else
if
(
verbose
&&
((
matcheddn
&&
*
matcheddn
)
||
(
text
&&
*
text
)
||
(
refs
&&
*
refs
)
))
{
printf
(
_
(
"Delete Result: %s (%d)
\n
"
),
ldap_err2string
(
code
),
code
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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