Diff for /servers/slapd/filter.c between versions 1.17 and 1.18

version 1.17, 2000/01/25 20:13:31 version 1.18, 2000/01/27 23:33:29
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.17 2000/01/25 20:13:31 kurt Exp $ */
 /*  /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 241  get_substring_filter( Line 241  get_substring_filter(
   
         attr_normalize( f->f_sub_type );          attr_normalize( f->f_sub_type );
   
   #ifdef SLAPD_SCHEMA_COMPAT
         /* should get real syntax and see if we have a substring matching rule */          /* should get real syntax and see if we have a substring matching rule */
         syntax = attr_syntax( f->f_sub_type );          syntax = attr_syntax( f->f_sub_type );
   #endif
   
         f->f_sub_initial = NULL;          f->f_sub_initial = NULL;
         f->f_sub_any = NULL;          f->f_sub_any = NULL;
Line 265  get_substring_filter( Line 267  get_substring_filter(
                         return( LDAP_INVALID_SYNTAX );                          return( LDAP_INVALID_SYNTAX );
                 }                  }
   
   #ifdef SLAPD_SCHEMA_COMPAT
                 /* we should call a substring syntax normalization routine */                  /* we should call a substring syntax normalization routine */
                 value_normalize( val->bv_val, syntax );                  value_normalize( val->bv_val, syntax );
   #endif
   
                 /* this is bogus, value_normalize should take a berval */                  /* this is bogus, value_normalize should take a berval */
                 val->bv_len = strlen( val->bv_val );                  val->bv_len = strlen( val->bv_val );

Removed from v.1.17  
changed lines
  Added in v.1.18


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