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
5460bbf0
Commit
5460bbf0
authored
Dec 12, 2010
by
Quanah Gibson-Mount
Browse files
minor cleanup
parent
88b7df65
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-meta/search.c
View file @
5460bbf0
...
...
@@ -1838,7 +1838,6 @@ meta_send_entry(
const
char
*
text
;
dncookie
dc
;
ber_len_t
len
;
ber_tag_t
tag
;
int
rc
;
if
(
ber_scanf
(
&
ber
,
"l{"
,
&
len
)
==
LBER_ERROR
)
{
...
...
@@ -2204,7 +2203,7 @@ next_attr:;
LBER_FREE
(
attr
->
a_nvals
[
i
].
bv_val
);
LBER_FREE
(
attr
->
a_vals
[
i
].
bv_val
);
attr
->
a_numvals
--
;
if
(
i
<
attr
->
a_numvals
)
{
if
(
(
unsigned
)
i
<
attr
->
a_numvals
)
{
attr
->
a_vals
[
i
]
=
attr
->
a_vals
[
attr
->
a_numvals
];
if
(
attr
->
a_nvals
!=
attr
->
a_vals
)
attr
->
a_nvals
[
i
]
=
attr
->
a_nvals
[
attr
->
a_numvals
];
...
...
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