Diff for /servers/slapd/back-ldap/modrdn.c between versions 1.53 and 1.54

version 1.53, 2006/09/26 12:51:47 version 1.54, 2006/10/07 16:07:57
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.52 2006/09/04 06:24:05 ando Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/modrdn.c,v 1.53 2006/09/26 12:51:47 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 1999-2006 The OpenLDAP Foundation.   * Copyright 1999-2006 The OpenLDAP Foundation.
Line 38  ldap_back_modrdn( Line 38  ldap_back_modrdn(
 {  {
         ldapinfo_t              *li = (ldapinfo_t *)op->o_bd->be_private;          ldapinfo_t              *li = (ldapinfo_t *)op->o_bd->be_private;
   
         ldapconn_t              *lc;          ldapconn_t              *lc = NULL;
         ber_int_t               msgid;          ber_int_t               msgid;
         LDAPControl             **ctrls = NULL;          LDAPControl             **ctrls = NULL;
         ldap_back_send_t        retrying = LDAP_BACK_RETRYING;          ldap_back_send_t        retrying = LDAP_BACK_RETRYING;
         int                     rc = LDAP_SUCCESS;          int                     rc = LDAP_SUCCESS;
         char                    *newSup = NULL;          char                    *newSup = NULL;
   
         lc = ldap_back_getconn( op, rs, LDAP_BACK_SENDERR );          if ( !ldap_back_dobind( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
         if ( !lc || !ldap_back_dobind( lc, op, rs, LDAP_BACK_SENDERR ) ) {  
                 return rs->sr_err;                  return rs->sr_err;
         }          }
   

Removed from v.1.53  
changed lines
  Added in v.1.54


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