Diff for /servers/slapd/filter.c between versions 1.114 and 1.115

version 1.114, 2003/04/29 18:12:00 version 1.115, 2003/04/29 18:40:26
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.113 2003/04/29 16:13:10 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.114 2003/04/29 18:12:00 hallvard Exp $ */
 /*  /*
  * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 252  get_filter( Line 252  get_filter(
   
                 assert( f.f_not != NULL );                  assert( f.f_not != NULL );
                 if ( f.f_not->f_choice == SLAPD_FILTER_COMPUTED ) {                  if ( f.f_not->f_choice == SLAPD_FILTER_COMPUTED ) {
                           int fresult = f.f_not->f_result;
                         f.f_choice = SLAPD_FILTER_COMPUTED;                          f.f_choice = SLAPD_FILTER_COMPUTED;
                         f.f_result = f.f_not->f_result;  
                         op->o_tmpfree( f.f_not, op->o_tmpmemctx );                          op->o_tmpfree( f.f_not, op->o_tmpmemctx );
                         f.f_not = NULL;                          f.f_not = NULL;
   
                         switch( f.f_result ) {                          switch( fresult ) {
                         case LDAP_COMPARE_TRUE:                          case LDAP_COMPARE_TRUE:
                                 f.f_result = LDAP_COMPARE_FALSE;                                  f.f_result = LDAP_COMPARE_FALSE;
                                 break;                                  break;

Removed from v.1.114  
changed lines
  Added in v.1.115


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