Diff for /servers/slapd/overlays/auditlog.c between versions 1.1.2.5 and 1.1.2.6

version 1.1.2.5, 2006/05/09 17:43:12 version 1.1.2.6, 2006/07/28 13:01:37
Line 1 Line 1
 /* auditlog.c - log modifications for audit/history purposes */  /* auditlog.c - log modifications for audit/history purposes */
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/auditlog.c,v 1.1.2.4 2006/02/13 17:28:43 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/auditlog.c,v 1.1.2.5 2006/05/09 17:43:12 kurt Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2005-2006 The OpenLDAP Foundation.   * Copyright 2005-2006 The OpenLDAP Foundation.
Line 160  auditlog_db_init( Line 160  auditlog_db_init(
 )  )
 {  {
         slap_overinst *on = (slap_overinst *)be->bd_info;          slap_overinst *on = (slap_overinst *)be->bd_info;
         auditlog_data *ad = ch_malloc(sizeof(auditlog_data));          auditlog_data *ad = ch_calloc(1, sizeof(auditlog_data));
   
         on->on_bi.bi_private = ad;          on->on_bi.bi_private = ad;
         ldap_pvt_thread_mutex_init( &ad->ad_mutex );          ldap_pvt_thread_mutex_init( &ad->ad_mutex );

Removed from v.1.1.2.5  
changed lines
  Added in v.1.1.2.6


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org