]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/modrdn.c
improve LDAP_OTHER description
[openldap] / libraries / libldap / modrdn.c
index 302ffa703f042febb8338eba9e7780fbbb2c7280..246cede995f66508649cf8f2edd006ef15130ecc 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -219,7 +219,7 @@ ldap_rename_s(
                return rc;
        }
 
-       rc = ldap_result( ld, msgid, 1, NULL, &res );
+       rc = ldap_result( ld, msgid, LDAP_MSG_ALL, NULL, &res );
 
        if( rc == -1 ) {
                return ld->ld_errno;