]> git.sur5r.net Git - openldap/commitdiff
More for Mod.sm_numvals
authorHoward Chu <hyc@openldap.org>
Mon, 24 Sep 2007 05:30:53 +0000 (05:30 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 24 Sep 2007 05:30:53 +0000 (05:30 +0000)
servers/slapd/overlays/dds.c

index 82ae17a10588ad933e13bfb53ad2b01364d4b27b..ebf70ec878b8fde65af3d5032a01f13a42fbc799 100644 (file)
@@ -1088,6 +1088,7 @@ dds_op_extended( Operation *op, SlapReply *rs )
                ttlmod.sml_flags = SLAP_MOD_MANAGING;
                ttlmod.sml_desc = slap_schema.si_ad_entryTtl;
                ttlmod.sml_values = ttlvalues;
+               ttlmod.sml_numvals = 1;
                ttlvalues[ 0 ].bv_val = ttlbuf;
                ttlvalues[ 0 ].bv_len = snprintf( ttlbuf, sizeof( ttlbuf ), "%ld", ttl );
                BER_BVZERO( &ttlvalues[ 1 ] );