Diff for /servers/slapd/ava.c between versions 1.25 and 1.26

version 1.25, 2002/01/04 20:17:45 version 1.26, 2002/01/06 05:11:01
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.24 2001/12/29 14:01:10 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.25 2002/01/04 20:17:45 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 39  get_ava( Line 39  get_ava(
         struct berval type, value;          struct berval type, value;
         AttributeAssertion *aa;          AttributeAssertion *aa;
   
         rc = ber_scanf( ber, "{oo}", &type, &value );          rc = ber_scanf( ber, "{mm}", &type, &value );
   
         if( rc == LBER_ERROR ) {          if( rc == LBER_ERROR ) {
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
Line 57  get_ava( Line 57  get_ava(
         aa->aa_value.bv_val = NULL;          aa->aa_value.bv_val = NULL;
   
         rc = slap_bv2ad( &type, &aa->aa_desc, text );          rc = slap_bv2ad( &type, &aa->aa_desc, text );
         ch_free( type.bv_val );  
   
         if( rc != LDAP_SUCCESS ) {          if( rc != LDAP_SUCCESS ) {
                 ch_free( value.bv_val );  
                 ch_free( aa );                  ch_free( aa );
                 return rc;                  return rc;
         }          }
   
         rc = value_normalize( aa->aa_desc, usage, &value, &aa->aa_value, text );          rc = value_normalize( aa->aa_desc, usage, &value, &aa->aa_value, text );
         ch_free( value.bv_val );  
   
         if( rc != LDAP_SUCCESS ) {          if( rc != LDAP_SUCCESS ) {
                 ch_free( aa );                  ch_free( aa );

Removed from v.1.25  
changed lines
  Added in v.1.26


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