Diff for /servers/slapd/filter.c between versions 1.13.4.8 and 1.13.4.10

version 1.13.4.8, 2001/06/22 23:59:28 version 1.13.4.10, 2001/12/07 15:43:18
Line 1 Line 1
 /* filter.c - routines for parsing and dealing with filters */  /* filter.c - routines for parsing and dealing with filters */
 /* $OpenLDAP$ */  /* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.13.4.9 2001/08/31 20:24:17 kurt Exp $ */
 /*  /*
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 183  get_filter( Line 183  get_filter(
                 err = slap_bv2ad( &type, &f->f_desc, text );                  err = slap_bv2ad( &type, &f->f_desc, text );
   
                 if( err != LDAP_SUCCESS ) {                  if( err != LDAP_SUCCESS ) {
                           /* unrecognized attribute description or other error */
                           f->f_choice = SLAPD_FILTER_COMPUTED;
                           f->f_result = LDAP_COMPARE_FALSE;
                           *fstr = ch_strdup( "(unrecogized=*)" );
                         ch_free( type.bv_val );                          ch_free( type.bv_val );
                           err = LDAP_SUCCESS;
                         break;                          break;
                 }                  }
   
Line 572  filter_free( Filter *f ) Line 577  filter_free( Filter *f )
                 if ( f->f_sub_final != NULL ) {                  if ( f->f_sub_final != NULL ) {
                         ber_bvfree( f->f_sub_final );                          ber_bvfree( f->f_sub_final );
                 }                  }
                   ch_free( f->f_sub );
                 break;                  break;
   
         case LDAP_FILTER_AND:          case LDAP_FILTER_AND:

Removed from v.1.13.4.8  
changed lines
  Added in v.1.13.4.10


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