]> git.sur5r.net Git - openldap/commitdiff
Fix missing si_syncCookie numcsns
authorHoward Chu <hyc@openldap.org>
Mon, 20 Jun 2011 13:51:33 +0000 (06:51 -0700)
committerHoward Chu <hyc@openldap.org>
Mon, 20 Jun 2011 13:51:33 +0000 (06:51 -0700)
servers/slapd/syncrepl.c

index 1788ca08387a4235713386104d2364bbb0ca56f1..90d719e02cbaef72ffa64e62fd716746290516ba 100644 (file)
@@ -589,6 +589,7 @@ check_syncprov(
                slap_compose_sync_cookie( NULL, &si->si_syncCookie.octet_str,
                        si->si_syncCookie.ctxcsn, si->si_syncCookie.rid,
                        si->si_syncCookie.sid );
+               slap_parse_sync_cookie( &si->si_syncCookie, NULL );
        }
        ldap_pvt_thread_mutex_unlock( &si->si_cookieState->cs_mutex );
        return changed;