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
Nadezhda Ivanova
OpenLDAP
Commits
a1a5affe
Commit
a1a5affe
authored
Dec 30, 2010
by
Rein Tollevik
Browse files
ITS#6754: Fail if there are unrecognized command-line arguments.
parent
8018924e
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/main.c
View file @
a1a5affe
...
...
@@ -683,6 +683,9 @@ unhandled_option:;
}
}
if
(
optind
!=
argc
)
goto
unhandled_option
;
ber_set_option
(
NULL
,
LBER_OPT_DEBUG_LEVEL
,
&
slap_debug
);
ldap_set_option
(
NULL
,
LDAP_OPT_DEBUG_LEVEL
,
&
slap_debug
);
ldif_debug
=
slap_debug
;
...
...
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