Diff for /servers/slapd/overlays/auditlog.c between versions 1.10 and 1.11

version 1.10, 2006/05/30 23:45:39 version 1.11, 2006/06/05 20:31:17
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.9 2006/05/30 09:49:16 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/auditlog.c,v 1.10 2006/05/30 23:45:39 hyc 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 188  auditlog_db_init( Line 188  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.10  
changed lines
  Added in v.1.11


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