Diff for /servers/slapd/value.c between versions 1.79.2.7 and 1.79.2.8

version 1.79.2.7, 2005/11/14 18:06:10 version 1.79.2.8, 2005/11/26 23:54:49
Line 1 Line 1
 /* value.c - routines for dealing with values */  /* value.c - routines for dealing with values */
 /* $OpenLDAP: pkg/ldap/servers/slapd/value.c,v 1.89 2005/11/14 15:23:55 hallvard Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/value.c,v 1.79.2.7 2005/11/14 18:06:10 kurt 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-2005 The OpenLDAP Foundation.   * Copyright 1998-2005 The OpenLDAP Foundation.
Line 700  ordered_value_add( Line 700  ordered_value_add(
   
                 k = -1;                  k = -1;
                 if ( vals[i].bv_val[0] == '{' ) {                  if ( vals[i].bv_val[0] == '{' ) {
                         k = strtol( vals[i].bv_val+1, &next, 0 );                          k = strtol( vals[i].bv_val + 1, &next, 0 );
                         if ( next == vals[i].bv_val + 1 ||                          if ( next == vals[i].bv_val + 1 ||
                                 next[ 0 ] != '}' ||                                  next[ 0 ] != '}' ||
                                 next - vals[i].bv_val > vals[i].bv_len )                                  next - vals[i].bv_val > vals[i].bv_len )

Removed from v.1.79.2.7  
changed lines
  Added in v.1.79.2.8


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