More for Mod.sm_numvals

This commit is contained in:
Howard Chu 2007-09-24 05:30:53 +00:00
parent dcaa5a27f5
commit 0f2b1d551b

View 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 ] );