ITS#7245 fix slap_parse_sync_cookie invocation

This commit is contained in:
Howard Chu 2012-04-16 07:36:43 -07:00
parent 519e2b34b5
commit 62cdc32f4e

View File

@ -667,7 +667,7 @@ do_syncrep1(
LDAP_STAILQ_REMOVE( &slap_sync_cookie, sc, sync_cookie, sc_next );
/* ctxcsn wasn't parsed yet, do it now */
slap_parse_sync_cookie( sc, op->o_tmpmemctx );
slap_parse_sync_cookie( sc, NULL );
slap_sync_cookie_free( &si->si_syncCookie, 0 );
slap_dup_sync_cookie( &si->si_syncCookie, sc );
slap_sync_cookie_free( sc, 1 );