]> git.sur5r.net Git - openldap/commitdiff
Finish friendly_name() removal
authorKurt Zeilenga <kurt@openldap.org>
Sun, 2 Dec 2001 01:07:50 +0000 (01:07 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 2 Dec 2001 01:07:50 +0000 (01:07 +0000)
clients/ud/main.c

index 8197a2fce9615cd3e68b3938045500e1e9f48152..cec5a03e6379a0537d72c6cc9a13ac027206ae2c 100644 (file)
@@ -461,9 +461,7 @@ change_base( int type, char **base, char *s )
                         *  codes to recognizable names for printing.
                         */
                        choices[i] = ldap_get_dn(ld, ep);
-                       rdns = ldap_explode_dn(choices[i], TRUE);
-                       printf(" %2d. %s\n", i, friendly_name(*rdns));
-                       (void) ldap_value_free(rdns);
+                       printf(" %2d. %s\n", i, choices[i]);
                        i++;
                        if ((rest++ > (lpp - 3)) && (i < matches)) {
                                printf("More? ");