Diff for /servers/slapd/filter.c between versions 1.72.2.2 and 1.72.2.3

version 1.72.2.2, 2002/05/22 14:25:49 version 1.72.2.3, 2002/07/10 01:30:23
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.72.2.1 2002/04/15 15:21:54 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.72.2.2 2002/05/22 14:25:49 kurt Exp $ */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 1126  vrFilter_free( ValuesReturnFilter *f ) Line 1126  vrFilter_free( ValuesReturnFilter *f )
 void  void
 vrFilter2bv( ValuesReturnFilter *f, struct berval *fstr )  vrFilter2bv( ValuesReturnFilter *f, struct berval *fstr )
 {  {
         int     i;  
         ValuesReturnFilter      *p;          ValuesReturnFilter      *p;
         struct berval tmp;          struct berval tmp;
         ber_len_t len;          ber_len_t len;
Line 1159  vrFilter2bv( ValuesReturnFilter *f, stru Line 1158  vrFilter2bv( ValuesReturnFilter *f, stru
 static void  static void
 simple_vrFilter2bv( ValuesReturnFilter *f, struct berval *fstr )  simple_vrFilter2bv( ValuesReturnFilter *f, struct berval *fstr )
 {  {
         int     i;  
         ValuesReturnFilter      *p;  
         struct berval tmp;          struct berval tmp;
         ber_len_t len;          ber_len_t len;
   
Line 1249  simple_vrFilter2bv( ValuesReturnFilter * Line 1246  simple_vrFilter2bv( ValuesReturnFilter *
                 }                  }
   
                 if ( f->f_sub_any != NULL ) {                  if ( f->f_sub_any != NULL ) {
                           int i;
                         for ( i = 0; f->f_sub_any[i].bv_val != NULL; i++ ) {                          for ( i = 0; f->f_sub_any[i].bv_val != NULL; i++ ) {
                                 len = fstr->bv_len;                                  len = fstr->bv_len;
                                 filter_escape_value( &f->f_sub_any[i], &tmp );                                  filter_escape_value( &f->f_sub_any[i], &tmp );

Removed from v.1.72.2.2  
changed lines
  Added in v.1.72.2.3


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