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
Robert Dubner
OpenLDAP
Commits
5603704d
Commit
5603704d
authored
Jan 08, 2020
by
Howard Chu
Committed by
Quanah Gibson-Mount
Jan 09, 2020
Browse files
ITS#9146 syncprov: fix sessionlog init
parent
36611a91
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/syncprov.c
View file @
5603704d
...
...
@@ -3079,12 +3079,7 @@ sp_cf_gen(ConfigArgs *c)
}
sl
=
si
->
si_logs
;
if
(
!
sl
)
{
sl
=
ch_malloc
(
sizeof
(
sessionlog
));
sl
->
sl_mincsn
=
NULL
;
sl
->
sl_sids
=
NULL
;
sl
->
sl_num
=
0
;
sl
->
sl_numcsns
=
0
;
sl
->
sl_head
=
sl
->
sl_tail
=
NULL
;
sl
=
ch_calloc
(
1
,
sizeof
(
sessionlog
));
ldap_pvt_thread_mutex_init
(
&
sl
->
sl_mutex
);
si
->
si_logs
=
sl
;
}
...
...
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