]> git.sur5r.net Git - openldap/commitdiff
ITS#5413 fix typo
authorHoward Chu <hyc@openldap.org>
Wed, 12 Mar 2008 02:57:49 +0000 (02:57 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 12 Mar 2008 02:57:49 +0000 (02:57 +0000)
servers/slapd/syncrepl.c

index f862d8e3e8c4f3297171c3e09ede10ba9245a1d6..0ae6cb63b23d83816ea96a13d1c41fd54d938857 100644 (file)
@@ -671,7 +671,7 @@ compare_csns( struct sync_cookie *sc1, struct sync_cookie *sc2, int *which )
                        value_match( &match, slap_schema.si_ad_entryCSN,
                                slap_schema.si_ad_entryCSN->ad_type->sat_ordering,
                                SLAP_MR_VALUE_OF_ATTRIBUTE_SYNTAX,
-                               &sc1->ctxcsn[i], &sc2->ctxcsn[i], &text );
+                               &sc1->ctxcsn[i], &sc2->ctxcsn[j], &text );
                        if ( match < 0 ) {
                                *which = j;
                                return match;