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
4d940929
Commit
4d940929
authored
Aug 28, 1999
by
Hallvard Furuseth
Browse files
Remove 'cast away const'
parent
635a6663
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/search.c
View file @
4d940929
...
...
@@ -222,7 +222,7 @@ ldap_search(
BerElement
*
ldap_build_search_req
(
LDAP
*
ld
,
LDAP_CONST
char
*
base
_in
,
LDAP_CONST
char
*
base
,
ber_int_t
scope
,
LDAP_CONST
char
*
filter_in
,
char
**
attrs
,
...
...
@@ -234,7 +234,6 @@ ldap_build_search_req(
{
BerElement
*
ber
;
int
err
;
char
*
base
;
char
*
filter
;
/*
...
...
@@ -266,16 +265,14 @@ ldap_build_search_req(
return
(
NULL
);
}
if
(
base
_in
==
NULL
)
{
if
(
base
==
NULL
)
{
/* no base provided, use session default base */
base
=
ld
->
ld_options
.
ldo_defbase
;
}
else
{
base
=
(
char
*
)
base_in
;
}
if
(
base
==
NULL
)
{
/* no session default base, use top */
base
=
""
;
if
(
base
==
NULL
)
{
/* no session default base, use top */
base
=
""
;
}
}
#ifdef LDAP_CONNECTIONLESS
...
...
Write
Preview
Markdown
is supported
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