Diff for /servers/slapd/overlays/retcode.c between versions 1.18 and 1.18.2.1

version 1.18, 2006/04/04 08:58:08 version 1.18.2.1, 2006/05/15 17:04:44
Line 1 Line 1
 /* retcode.c - customizable response for client testing purposes */  /* retcode.c - customizable response for client testing purposes */
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/retcode.c,v 1.17 2006/03/30 21:49:51 ando Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/retcode.c,v 1.19 2006/04/25 17:30:48 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 2005-2006 The OpenLDAP Foundation.   * Copyright 2005-2006 The OpenLDAP Foundation.
Line 531  retcode_entry_response( Operation *op, S Line 531  retcode_entry_response( Operation *op, S
   
         /* sleep time */          /* sleep time */
         a = attr_find( e->e_attrs, ad_errSleepTime );          a = attr_find( e->e_attrs, ad_errSleepTime );
         if ( a != NULL ) {          if ( a != NULL && a->a_nvals[ 0 ].bv_val[ 0 ] != '-' ) {
                 int     sleepTime;                  int     sleepTime;
   
                 sleepTime = strtoul( a->a_nvals[ 0 ].bv_val, &next, 0 );                  sleepTime = strtoul( a->a_nvals[ 0 ].bv_val, &next, 0 );

Removed from v.1.18  
changed lines
  Added in v.1.18.2.1


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