From: Kurt Zeilenga Date: Mon, 24 Mar 2003 05:13:11 +0000 (+0000) Subject: Use ch_calloc X-Git-Tag: OPENLDAP_REL_ENG_2_1_17~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f82b07b37454b2913748a09056667ace9ba6fb3;p=thirdparty%2Fopenldap.git Use ch_calloc --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 20da8a2e5c..005496fdd9 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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