]> git.sur5r.net Git - openldap/commitdiff
Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn
authorHoward Chu <hyc@openldap.org>
Tue, 15 Aug 2006 09:25:42 +0000 (09:25 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 15 Aug 2006 09:25:42 +0000 (09:25 +0000)
servers/slapd/overlays/syncprov.c

index 8406102a199c5efa72b69fd669b0ed2ede567ca4..238062295ceddfe26d8e56efcdaf41617913a32c 100644 (file)
@@ -1489,7 +1489,7 @@ syncprov_op_response( Operation *op, SlapReply *rs )
                /* Update our context CSN */
                cbuf[0] = '\0';
                ldap_pvt_thread_mutex_lock( &si->si_csn_mutex );
-               slap_get_commit_csn( op, &maxcsn, NULL );
+               slap_get_commit_csn( op, &maxcsn );
                if ( !BER_BVISNULL( &maxcsn ) ) {
                        strcpy( cbuf, maxcsn.bv_val );
                        if ( ber_bvcmp( &maxcsn, &si->si_ctxcsn ) > 0 ) {