From: Howard Chu Date: Fri, 28 Jan 2011 22:01:18 +0000 (+0000) Subject: More for ITS#6807, make sure to check_syncprov() after initial startup X-Git-Tag: MIGRATION_CVS2GIT~169 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20e71761834886ccb84c1cf2388df34699cf2f9d;p=openldap More for ITS#6807, make sure to check_syncprov() after initial startup --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index b2aeb3d985..9bd0aeefb5 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -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 ) {