Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
12affea4
Commit
12affea4
authored
Dec 09, 2009
by
Howard Chu
Browse files
ITS#6425 fix uninit'd vars
parent
85621c88
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
12affea4
...
...
@@ -810,7 +810,7 @@ do_syncrep2(
ldap_get_entry_controls
(
si
->
si_ld
,
msg
,
&
rctrls
);
/* we can't work without the control */
if
(
rctrls
)
{
LDAPControl
**
next
;
LDAPControl
**
next
=
NULL
;
/* NOTE: make sure we use the right one;
* a better approach would be to run thru
* the whole list and take care of all */
...
...
@@ -998,7 +998,7 @@ do_syncrep2(
si
->
si_ridtxt
,
err
,
ldap_err2string
(
err
)
);
}
if
(
rctrls
)
{
LDAPControl
**
next
;
LDAPControl
**
next
=
NULL
;
/* NOTE: make sure we use the right one;
* a better approach would be to run thru
* the whole list and take care of all */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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