From: Howard Chu Date: Thu, 13 Jan 2005 21:14:52 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~391 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4c21a2712f17f4583b10bb3599b08259428a7dbf;p=openldap Fix prev commit --- 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 );