]> git.sur5r.net Git - openldap/commitdiff
Fix initialization
authorKurt Zeilenga <kurt@openldap.org>
Sat, 10 Jan 2004 19:28:24 +0000 (19:28 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 10 Jan 2004 19:28:24 +0000 (19:28 +0000)
servers/slapd/passwd.c

index de39d6f402e947fb4e07076be8838850eb43a965..6b0bba4545d47d3bad13556d6845d09297491a0c 100644 (file)
@@ -37,7 +37,8 @@ int passwd_extop(
        Modifications ml, **modtail;
        Operation op2;
        slap_callback cb = { NULL, slap_null_cb, NULL, NULL };
-       slap_callback cb2 = { &cb, slap_replog_cb, NULL, NULL };
+       slap_callback cb2 = { NULL, slap_replog_cb, NULL, NULL };
+       cb2.sc_next = &cb;
 
        assert( ber_bvcmp( &slap_EXOP_MODIFY_PASSWD, &op->ore_reqoid ) == 0 );