Diff for /servers/slapd/overlays/accesslog.c between versions 1.2.2.1 and 1.2.2.2

version 1.2.2.1, 2005/06/10 15:11:26 version 1.2.2.2, 2005/07/11 05:55:32
Line 1 Line 1
 /* accesslog.c - log operations for audit/history purposes */  /* accesslog.c - log operations for audit/history purposes */
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/accesslog.c,v 1.2 2005/06/10 09:41:58 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/accesslog.c,v 1.4 2005/07/06 03:53:02 hallvard 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 The OpenLDAP Foundation.   * Copyright 2005 The OpenLDAP Foundation.
Line 670  static Entry *accesslog_entry( Operation Line 670  static Entry *accesslog_entry( Operation
                 attr_merge_one( e, ad_reqType, &lo->word, NULL );                  attr_merge_one( e, ad_reqType, &lo->word, NULL );
         }          }
   
         rdn.bv_len = sprintf( rdn.bv_val, "%d", op->o_connid );          rdn.bv_len = sprintf( rdn.bv_val, "%lu", op->o_connid );
         attr_merge_one( e, ad_reqSession, &rdn, NULL );          attr_merge_one( e, ad_reqSession, &rdn, NULL );
   
         if ( BER_BVISNULL( &op->o_dn ))           if ( BER_BVISNULL( &op->o_dn )) 
Line 1028  accesslog_db_destroy( Line 1028  accesslog_db_destroy(
         log_info *li = on->on_bi.bi_private;          log_info *li = on->on_bi.bi_private;
                   
         free( li );          free( li );
           return LDAP_SUCCESS;
 }  }
   
 int accesslog_init()  int accesslog_init()

Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2


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