]> git.sur5r.net Git - openldap/commitdiff
Zero out op2
authorHoward Chu <hyc@openldap.org>
Wed, 14 Sep 2005 14:10:25 +0000 (14:10 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 14 Sep 2005 14:10:25 +0000 (14:10 +0000)
servers/slapd/overlays/accesslog.c

index dd85f18753e40b74963185a3db04b28d33d0b6ef..86a790c4b810d11dc5d75c20573c39e0e7b62f79 100644 (file)
@@ -732,7 +732,7 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
        struct berval bv;
        char *ptr;
        BerVarray vals;
-       Operation op2;
+       Operation op2 = {0};
        SlapReply rs2 = {REP_RESULT};
 
        if ( rs->sr_type != REP_RESULT && rs->sr_type != REP_EXTENDED )