Commit e974279f authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6370

parent 52e5e0aa
......@@ -18,6 +18,7 @@ OpenLDAP 2.4.20 Engineering
Fixed slapd-relay bind segfault (ITS#6337)
Fixed slapo-memberof operational attr updates (ITS#6329)
Fixed slapo-pcache entry dupe (ITS#6310)
Fixed slapo-syncprov checkpoint conversion (ITS#6370)
Fixed slapo-syncprov deadlock (ITS#6335)
Fixed slapo-syncprov out of order changes (ITS#6346)
Build Environment
......
......@@ -2690,8 +2690,11 @@ sp_cf_gen(ConfigArgs *c)
case SP_CHKPT:
if ( si->si_chkops || si->si_chktime ) {
struct berval bv;
/* we assume si_chktime is a multiple of 60
* because the parsed value was originally
* multiplied by 60 */
bv.bv_len = snprintf( c->cr_msg, sizeof( c->cr_msg ),
"%d %d", si->si_chkops, si->si_chktime );
"%d %d", si->si_chkops, si->si_chktime/60 );
if ( bv.bv_len >= sizeof( c->cr_msg ) ) {
rc = 1;
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment