]> git.sur5r.net Git - openldap/commitdiff
More for ITS#6807, make sure to check_syncprov() after initial startup
authorHoward Chu <hyc@openldap.org>
Fri, 28 Jan 2011 22:01:18 +0000 (22:01 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 28 Jan 2011 22:01:18 +0000 (22:01 +0000)
servers/slapd/syncrepl.c

index b2aeb3d9857d76b3ce12e86c82b62219a36b1619..9bd0aeefb5db446044f980d1a82848ace1cec555 100644 (file)
@@ -620,7 +620,7 @@ do_syncrep1(
        /* We've just started up, or the remote server hasn't sent us
         * any meaningful state.
         */
-       if ( BER_BVISNULL( &si->si_syncCookie.octet_str ) ) {
+       if ( !si->si_syncCookie.ctxcsn ) {
                int i;
 
                LDAP_STAILQ_FOREACH( sc, &slap_sync_cookie, sc_next ) {