Diff for /servers/slapd/filter.c between versions 1.128 and 1.129

version 1.128, 2005/07/04 03:29:12 version 1.129, 2005/07/18 04:22:34
Line 1 Line 1
 /* filter.c - routines for parsing and dealing with filters */  /* filter.c - routines for parsing and dealing with filters */
 /* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.127 2005/06/20 22:38:55 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.128 2005/07/04 03:29:12 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 1998-2005 The OpenLDAP Foundation.   * Copyright 1998-2005 The OpenLDAP Foundation.
Line 779  filter_escape_value_x( Line 779  filter_escape_value_x(
         void *ctx )          void *ctx )
 {  {
         ber_len_t i;          ber_len_t i;
         assert( in );          assert( in != NULL );
         assert( out );          assert( out != NULL );
   
         i = in->bv_len * 3 + 1;          i = in->bv_len * 3 + 1;
         out->bv_val = ctx ? slap_sl_malloc( i, ctx ) : ch_malloc( i );          out->bv_val = ctx ? slap_sl_malloc( i, ctx ) : ch_malloc( i );

Removed from v.1.128  
changed lines
  Added in v.1.129


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