From 4c21a2712f17f4583b10bb3599b08259428a7dbf Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 13 Jan 2005 21:14:52 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/overlays/syncprov.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 99d5cdb1bf..b71c1958e7 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1093,7 +1093,8 @@ syncprov_add_slog( Operation *op, struct berval *csn ) sessionlog *sl; slog_entry *se; - for ( sl = si->si_logs; sl; ) { + sl = si->si_logs; + { /* Allocate a record. UUIDs are not NUL-terminated. */ se = ch_malloc( sizeof( slog_entry ) + opc->suuid.bv_len + csn->bv_len + 1 ); -- 2.39.5