diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index aab5c5fbd8..f7efaf86fc 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2741,7 +2741,7 @@ syncrepl_unparse( syncinfo_t *si, struct berval *bv ) if ( si->si_retrynum_init[i] == -1 ) *ptr++ = '+'; else - ptr += sprintf( ptr, "%d", si->si_retrynum_init ); + ptr += sprintf( ptr, "%d", si->si_retrynum_init[i] ); } *ptr++ = '"'; }