mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
More for Mod.sm_numvals
This commit is contained in:
parent
dcaa5a27f5
commit
0f2b1d551b
@ -1088,6 +1088,7 @@ dds_op_extended( Operation *op, SlapReply *rs )
|
|||||||
ttlmod.sml_flags = SLAP_MOD_MANAGING;
|
ttlmod.sml_flags = SLAP_MOD_MANAGING;
|
||||||
ttlmod.sml_desc = slap_schema.si_ad_entryTtl;
|
ttlmod.sml_desc = slap_schema.si_ad_entryTtl;
|
||||||
ttlmod.sml_values = ttlvalues;
|
ttlmod.sml_values = ttlvalues;
|
||||||
|
ttlmod.sml_numvals = 1;
|
||||||
ttlvalues[ 0 ].bv_val = ttlbuf;
|
ttlvalues[ 0 ].bv_val = ttlbuf;
|
||||||
ttlvalues[ 0 ].bv_len = snprintf( ttlbuf, sizeof( ttlbuf ), "%ld", ttl );
|
ttlvalues[ 0 ].bv_len = snprintf( ttlbuf, sizeof( ttlbuf ), "%ld", ttl );
|
||||||
BER_BVZERO( &ttlvalues[ 1 ] );
|
BER_BVZERO( &ttlvalues[ 1 ] );
|
||||||
|
Loading…
Reference in New Issue
Block a user