From: Howard Chu Date: Mon, 24 Sep 2007 05:30:53 +0000 (+0000) Subject: More for Mod.sm_numvals X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~603 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0f2b1d551b676a7928ed1af67a20dcef43b42b65;p=openldap More for Mod.sm_numvals --- diff --git a/servers/slapd/overlays/dds.c b/servers/slapd/overlays/dds.c index 82ae17a105..ebf70ec878 100644 --- a/servers/slapd/overlays/dds.c +++ b/servers/slapd/overlays/dds.c @@ -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 ] );