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

version 1.26, 2002/01/06 05:11:01 version 1.26.2.1, 2002/04/15 15:21:52
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.25 2002/01/04 20:17:45 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/ava.c,v 1.28 2002/04/02 16:40:04 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 36  get_ava( Line 36  get_ava(
 )  )
 {  {
         int rc;          int rc;
           ber_tag_t rtag;
         struct berval type, value;          struct berval type, value;
         AttributeAssertion *aa;          AttributeAssertion *aa;
   
         rc = ber_scanf( ber, "{mm}", &type, &value );          rtag = ber_scanf( ber, "{mm}", &type, &value );
   
         if( rc == LBER_ERROR ) {          if( rtag == LBER_ERROR ) {
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
                 LDAP_LOG(( "filter", LDAP_LEVEL_ERR,                  LDAP_LOG(( "filter", LDAP_LEVEL_ERR,
                            "get_ava:  ber_scanf failure\n" ));                             "get_ava:  ber_scanf failure\n" ));
Line 63  get_ava( Line 64  get_ava(
                 return rc;                  return rc;
         }          }
   
         rc = value_normalize( aa->aa_desc, usage, &value, &aa->aa_value, text );          rc = value_validate_normalize( aa->aa_desc, usage,
                   &value, &aa->aa_value, text );
   
         if( rc != LDAP_SUCCESS ) {          if( rc != LDAP_SUCCESS ) {
                 ch_free( aa );                  ch_free( aa );

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


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