]> git.sur5r.net Git - openldap/commitdiff
Cleanup prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 6 Feb 2006 20:39:25 +0000 (20:39 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 6 Feb 2006 20:39:25 +0000 (20:39 +0000)
servers/slapd/add.c

index a5fa0769b01c7d189f0b586b0058a81d3b823776..57733a938ba31f9d0a841681e0231218bb0936f4 100644 (file)
@@ -645,9 +645,9 @@ int slap_add_opattrs(
 
        if ( SLAP_LASTMOD( op->o_bd ) ) {
                char *ptr;
-               timestamp.bv_val = timebuf;
                int gotcsn = 0;
 
+               timestamp.bv_val = timebuf;
                a = attr_find( op->ora_e->e_attrs, slap_schema.si_ad_entryCSN );
                if ( a ) {
                        gotcsn = 1;