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
ingo Voss
OpenLDAP
Commits
ad0f8e8e
Commit
ad0f8e8e
authored
Dec 02, 2002
by
Kurt Zeilenga
Browse files
Error message cleanup (already applied to HEAD)
parent
b979481a
Changes
7
Hide whitespace changes
Inline
Side-by-side
clients/tools/ldapcompare.c
View file @
ad0f8e8e
...
...
@@ -196,7 +196,7 @@ main( int argc, char **argv )
if
(
strcasecmp
(
control
,
"manageDSAit"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"manageDSAit: no control value expected"
);
fprintf
(
stderr
,
"manageDSAit: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
@@ -207,7 +207,7 @@ main( int argc, char **argv )
}
else
if
(
strcasecmp
(
control
,
"noop"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"noop: no control value expected"
);
fprintf
(
stderr
,
"noop: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
clients/tools/ldapdelete.c
View file @
ad0f8e8e
...
...
@@ -197,7 +197,7 @@ main( int argc, char **argv )
if
(
strcasecmp
(
control
,
"manageDSAit"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"manageDSAit: no control value expected"
);
fprintf
(
stderr
,
"manageDSAit: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
@@ -208,7 +208,7 @@ main( int argc, char **argv )
}
else
if
(
strcasecmp
(
control
,
"noop"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"noop: no control value expected"
);
fprintf
(
stderr
,
"noop: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
clients/tools/ldapmodify.c
View file @
ad0f8e8e
...
...
@@ -261,7 +261,7 @@ main( int argc, char **argv )
if
(
strcasecmp
(
control
,
"manageDSAit"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"manageDSAit: no control value expected"
);
fprintf
(
stderr
,
"manageDSAit: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
@@ -272,7 +272,7 @@ main( int argc, char **argv )
}
else
if
(
strcasecmp
(
control
,
"noop"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"noop: no control value expected"
);
fprintf
(
stderr
,
"noop: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
clients/tools/ldapmodrdn.c
View file @
ad0f8e8e
...
...
@@ -217,7 +217,7 @@ main(int argc, char **argv)
if
(
strcasecmp
(
control
,
"manageDSAit"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"manageDSAit: no control value expected"
);
fprintf
(
stderr
,
"manageDSAit: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
@@ -228,7 +228,7 @@ main(int argc, char **argv)
}
else
if
(
strcasecmp
(
control
,
"noop"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"noop: no control value expected"
);
fprintf
(
stderr
,
"noop: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
clients/tools/ldappasswd.c
View file @
ad0f8e8e
...
...
@@ -215,7 +215,7 @@ main( int argc, char *argv[] )
if
(
strcasecmp
(
control
,
"manageDSAit"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"manageDSAit: no control value expected"
);
fprintf
(
stderr
,
"manageDSAit: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
@@ -226,7 +226,7 @@ main( int argc, char *argv[] )
}
else
if
(
strcasecmp
(
control
,
"noop"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"noop: no control value expected"
);
fprintf
(
stderr
,
"noop: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
clients/tools/ldapsearch.c
View file @
ad0f8e8e
...
...
@@ -283,7 +283,7 @@ main( int argc, char **argv )
if
(
strcasecmp
(
control
,
"mv"
)
==
0
)
{
/* ValuesReturnFilter control */
if
(
valuesReturnFilter
!=
0
)
{
fprintf
(
stderr
,
"ValuesReturnFilter previously specified
"
);
fprintf
(
stderr
,
"ValuesReturnFilter previously specified
\n
"
);
return
EXIT_FAILURE
;
}
valuesReturnFilter
=
1
+
crit
;
...
...
@@ -393,7 +393,7 @@ main( int argc, char **argv )
if
(
strcasecmp
(
control
,
"manageDSAit"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"manageDSAit: no control value expected"
);
fprintf
(
stderr
,
"manageDSAit: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
@@ -404,7 +404,7 @@ main( int argc, char **argv )
}
else
if
(
strcasecmp
(
control
,
"noop"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"noop: no control value expected"
);
fprintf
(
stderr
,
"noop: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
clients/tools/ldapwhoami.c
View file @
ad0f8e8e
...
...
@@ -175,7 +175,7 @@ main( int argc, char *argv[] )
if
(
strcasecmp
(
control
,
"manageDSAit"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"manageDSAit: no control value expected"
);
fprintf
(
stderr
,
"manageDSAit: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
@@ -186,7 +186,7 @@ main( int argc, char *argv[] )
}
else
if
(
strcasecmp
(
control
,
"noop"
)
==
0
)
{
if
(
cvalue
!=
NULL
)
{
fprintf
(
stderr
,
"noop: no control value expected"
);
fprintf
(
stderr
,
"noop: no control value expected
\n
"
);
usage
(
prog
);
return
EXIT_FAILURE
;
}
...
...
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