Fix prev commit

This commit is contained in:
Howard Chu 2005-01-13 21:14:52 +00:00
parent 93c56951ed
commit 4c21a2712f

View File

@ -1093,7 +1093,8 @@ syncprov_add_slog( Operation *op, struct berval *csn )
sessionlog *sl; sessionlog *sl;
slog_entry *se; slog_entry *se;
for ( sl = si->si_logs; sl; ) { sl = si->si_logs;
{
/* Allocate a record. UUIDs are not NUL-terminated. */ /* Allocate a record. UUIDs are not NUL-terminated. */
se = ch_malloc( sizeof( slog_entry ) + opc->suuid.bv_len + se = ch_malloc( sizeof( slog_entry ) + opc->suuid.bv_len +
csn->bv_len + 1 ); csn->bv_len + 1 );