Diff for /servers/slapd/back-ldap/modrdn.c between versions 1.1.8.4 and 1.2

version 1.1.8.4, 2002/01/04 20:38:32 version 1.2, 1999/09/08 17:06:36
Line 1 Line 1
 /* modrdn.c - ldap backend modrdn function */  /* modrdn.c - ldap backend modrdn function */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/modrdn.c,v 1.1.8.3 2001/01/17 06:04:25 kurt Exp $ */  /* $OpenLDAP$ */
 /*  
  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.  
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file  
  */  
 /* This is an altered version */  
 /*  /*
  * Copyright 1999, Howard Chu, All rights reserved. <hyc@highlandsun.com>   * Copyright 1999, Howard Chu, All rights reserved. <hyc@highlandsun.com>
  *    * 
Line 41  ldap_back_modrdn( Line 37  ldap_back_modrdn(
     Backend     *be,      Backend     *be,
     Connection  *conn,      Connection  *conn,
     Operation   *op,      Operation   *op,
     const char  *dn,      char        *dn,
     const char  *ndn,      char        *newrdn,
     const char  *newrdn,  
     int         deleteoldrdn,      int         deleteoldrdn,
     const char  *newSuperior      char        *newSuperior
 )  )
 {  {
         struct ldapinfo *li = (struct ldapinfo *) be->be_private;          struct ldapinfo *li = (struct ldapinfo *) be->be_private;
Line 66  ldap_back_modrdn( Line 61  ldap_back_modrdn(
                         return( -1 );                          return( -1 );
         }          }
   
         ldap_rename2_s( lc->ld, dn, newrdn, newSuperior, deleteoldrdn );          ldap_rename2_s( lc->ld, dn, newrdn, deleteoldrdn, newSuperior );
         return( ldap_back_op_result( lc, op ) );          return( ldap_back_op_result( lc, op ) );
 }  }

Removed from v.1.1.8.4  
changed lines
  Added in v.1.2


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