]> git.sur5r.net Git - openldap/commitdiff
fix ITS#3834
authorPierangelo Masarati <ando@openldap.org>
Tue, 5 Jul 2005 12:05:47 +0000 (12:05 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 5 Jul 2005 12:05:47 +0000 (12:05 +0000)
servers/slapd/syncrepl.c

index aab5c5fbd8a71ddb55e96b809467d52f0a84c875..f7efaf86fc2c93084cd90fb8627a375ea85dbde8 100644 (file)
@@ -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++ = '"';
        }