]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Thu, 13 Jan 2005 21:14:52 +0000 (21:14 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 13 Jan 2005 21:14:52 +0000 (21:14 +0000)
servers/slapd/overlays/syncprov.c

index 99d5cdb1bf2027e68c688ec663ceb4600849e44f..b71c1958e7275d5d7f3be8bfcc6869161ffb162d 100644 (file)
@@ -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 );