]> git.sur5r.net Git - openldap/commitdiff
remove redundant memset 0 of connection entry after calloc.
authorKurt Zeilenga <kurt@openldap.org>
Thu, 27 May 1999 02:44:13 +0000 (02:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 27 May 1999 02:44:13 +0000 (02:44 +0000)
servers/slapd/connection.c

index 4d8d339e6e1995b3885a373aad8524b880d30fb9..6c65845edb27aacfd78ff8e8cd28c5489dee4cfa 100644 (file)
@@ -72,9 +72,6 @@ int connections_init(void)
                return -1;
        }
 
-       for ( i = 0; i < dtblsize; i++ )
-               memset( &connections[i], 0, sizeof(Connection) );
-
        /*
         * per entry initialization of the Connection array initialization
         * will be done by connection_init()