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
Joe Martin
OpenLDAP
Commits
27d27af0
Commit
27d27af0
authored
Apr 15, 2010
by
Quanah Gibson-Mount
Browse files
More for ITS#6456
parent
f3a86075
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldap/config.c
View file @
27d27af0
...
...
@@ -686,9 +686,11 @@ slap_idassert_authzfrom_parse( ConfigArgs *c, slap_idassert_t *si )
ber_bvarray_add
(
&
si
->
si_authz
,
&
bv
);
}
else
{
int
i
;
for
(
i
=
0
;
!
BER_BVISNULL
(
&
si
->
si_authz
[
i
]
);
i
++
)
;
int
i
=
0
;
if
(
si
->
si_authz
!=
NULL
)
{
for
(
;
!
BER_BVISNULL
(
&
si
->
si_authz
[
i
]
);
i
++
)
;
}
if
(
i
<=
c
->
valx
)
{
ber_bvarray_add
(
&
si
->
si_authz
,
&
bv
);
...
...
@@ -731,9 +733,11 @@ slap_idassert_passthru_parse( ConfigArgs *c, slap_idassert_t *si )
ber_bvarray_add
(
&
si
->
si_passthru
,
&
bv
);
}
else
{
int
i
;
for
(
i
=
0
;
!
BER_BVISNULL
(
&
si
->
si_passthru
[
i
]
);
i
++
)
;
int
i
=
0
;
if
(
si
->
si_passthru
!=
NULL
)
{
for
(
;
!
BER_BVISNULL
(
&
si
->
si_passthru
[
i
]
);
i
++
)
;
}
if
(
i
<=
c
->
valx
)
{
ber_bvarray_add
(
&
si
->
si_passthru
,
&
bv
);
...
...
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