Diff for /servers/slapd/filter.c between versions 1.154 and 1.158

version 1.154, 2009/08/04 20:41:59 version 1.158, 2011/01/12 13:41: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.153 2009/01/21 23:40:26 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.156 2010/08/29 14:27:08 ando 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-2009 The OpenLDAP Foundation.   * Copyright 1998-2011 The OpenLDAP Foundation.
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 402  get_ssa( Line 402  get_ssa(
         {          {
                 unsigned usage;                  unsigned usage;
   
                 rc = ber_scanf( ber, "m", &value );                  if ( ber_scanf( ber, "m", &value ) == LBER_ERROR ) {
                 if ( rc == LBER_ERROR ) {  
                         rc = SLAPD_DISCONNECT;                          rc = SLAPD_DISCONNECT;
                         goto return_error;                          goto return_error;
                 }                  }
Line 521  filter_free_x( Operation *op, Filter *f, Line 520  filter_free_x( Operation *op, Filter *f,
   
         switch ( f->f_choice ) {          switch ( f->f_choice ) {
         case LDAP_FILTER_PRESENT:          case LDAP_FILTER_PRESENT:
                   if ( f->f_desc->ad_flags & SLAP_DESC_TEMPORARY )
                           op->o_tmpfree( f->f_desc, op->o_tmpmemctx );
                 break;                  break;
   
         case LDAP_FILTER_EQUALITY:          case LDAP_FILTER_EQUALITY:

Removed from v.1.154  
changed lines
  Added in v.1.158


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