]> git.sur5r.net Git - openldap/commitdiff
delete now redundant memsets
authorHoward Chu <hyc@openldap.org>
Fri, 3 Feb 2006 19:37:12 +0000 (19:37 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 3 Feb 2006 19:37:12 +0000 (19:37 +0000)
servers/slapd/overlays/accesslog.c

index 0030821b63370a9722cf22cb034a393ed803f5d5..bd61096dbbb9f8e01c5e267438b588eca0bc0c43 100644 (file)
@@ -1132,7 +1132,6 @@ accesslog_unbind( Operation *op, SlapReply *rs )
                op2.o_callback = &nullsc;
                op2.o_controls = cids;
                memset(cids, 0, sizeof( cids ));
-               memset(op2.o_ctrlflag, 0, sizeof( op2.o_ctrlflag ));
 
                op2.o_bd->be_add( &op2, &rs2 );
                entry_free( e );
@@ -1171,7 +1170,6 @@ accesslog_abandon( Operation *op, SlapReply *rs )
        op2.o_callback = &nullsc;
        op2.o_controls = cids;
        memset(cids, 0, sizeof( cids ));
-       memset(op2.o_ctrlflag, 0, sizeof( op2.o_ctrlflag ));
 
        op2.o_bd->be_add( &op2, &rs2 );
        entry_free( e );