Diff for /servers/slapd/overlays/valsort.c between versions 1.9.2.6 and 1.9.2.7

version 1.9.2.6, 2007/01/02 21:44:09 version 1.9.2.7, 2007/06/08 08:13:18
Line 1 Line 1
 /* valsort.c - sort attribute values */  /* valsort.c - sort attribute values */
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/valsort.c,v 1.9.2.5 2006/01/03 22:16:25 kurt Exp $ */  /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2005-2007 The OpenLDAP Foundation.   * Copyright 2005-2007 The OpenLDAP Foundation.
Line 447  valsort_modify( Operation *op, SlapReply Line 447  valsort_modify( Operation *op, SlapReply
                 if ( !(vi->vi_sort & VALSORT_WEIGHTED ))                  if ( !(vi->vi_sort & VALSORT_WEIGHTED ))
                         continue;                          continue;
                 for (ml = op->orm_modlist; ml; ml=ml->sml_next ) {                  for (ml = op->orm_modlist; ml; ml=ml->sml_next ) {
                           /* Must be a Delete Attr op, so no values to consider */
                           if ( !ml->sml_values )
                                   continue;
                         if ( ml->sml_desc == vi->vi_ad )                          if ( ml->sml_desc == vi->vi_ad )
                                 break;                                  break;
                 }                  }

Removed from v.1.9.2.6  
changed lines
  Added in v.1.9.2.7


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