]> git.sur5r.net Git - openldap/commitdiff
Use ch_calloc
authorKurt Zeilenga <kurt@openldap.org>
Mon, 24 Mar 2003 05:13:11 +0000 (05:13 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 24 Mar 2003 05:13:11 +0000 (05:13 +0000)
servers/slapd/connection.c

index 20da8a2e5cbbf9d14e759e065178bc0d76e75797..005496fdd900e41143023b40ebf231bf92e066cb 100644 (file)
@@ -88,7 +88,7 @@ int connections_init(void)
        /* should check return of every call */
        ldap_pvt_thread_mutex_init( &connections_mutex );
 
-       connections = (Connection *) calloc( dtblsize, sizeof(Connection) );
+       connections = (Connection *) ch_calloc( dtblsize, sizeof(Connection) );
 
        if( connections == NULL ) {
 #ifdef NEW_LOGGING