]> git.sur5r.net Git - openldap/commitdiff
Provide UUID/CSN attributes
authorKurt Zeilenga <kurt@openldap.org>
Fri, 9 Aug 2002 17:32:54 +0000 (17:32 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 9 Aug 2002 17:32:54 +0000 (17:32 +0000)
servers/slapd/modify.c

index 30e9cca497134dd57182051704f1f75d38dc080c..026678a9ad129f4d18557898cd8dc1ea6fcc29f0 100644 (file)
@@ -609,7 +609,6 @@ int slap_mods_opattrs(
                        tmpval.bv_len = lutil_uuidstr( uuidbuf, sizeof( uuidbuf ) );
                        tmpval.bv_val = uuidbuf;
                
-#if 0
                        mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
                        mod->sml_op = mop;
                        mod->sml_type.bv_val = NULL;
@@ -620,7 +619,6 @@ int slap_mods_opattrs(
                        assert( mod->sml_bvalues[0].bv_val );
                        *modtail = mod;
                        modtail = &mod->sml_next;
-#endif
 
                        mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
                        mod->sml_op = mop;
@@ -647,7 +645,6 @@ int slap_mods_opattrs(
        }
 
        if( SLAP_LASTMOD(be) ) {
-#if 0
                mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
                mod->sml_op = mop;
                mod->sml_type.bv_val = NULL;
@@ -658,7 +655,6 @@ int slap_mods_opattrs(
                assert( mod->sml_bvalues[0].bv_val );
                *modtail = mod;
                modtail = &mod->sml_next;
-#endif
 
                mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
                mod->sml_op = mop;