]> git.sur5r.net Git - openldap/commitdiff
Fix uninitialized variable, messed up in prior patch. ITS#2930?
authorHoward Chu <hyc@openldap.org>
Sat, 24 Jan 2004 02:46:37 +0000 (02:46 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 24 Jan 2004 02:46:37 +0000 (02:46 +0000)
servers/slapd/repl.c

index 43047585d35bf83b1bde6d4f27f89e0e56058338..c7e20fcc23f3126ed1c6ff48f29cecf2e36b033e 100644 (file)
@@ -383,6 +383,7 @@ replog1(
                break;
 
        case LDAP_REQ_ADD:
+               e = change;
                for ( a = e->e_attrs; a != NULL; a=a->a_next ) {
                        if ( ri && ri->ri_attrs ) {
                                int is_in = ad_inlist( a->a_desc, ri->ri_attrs );