]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/friendly.c
Added the functions ldap_rename2() and ldap_rename2_s() to support LDAP
[openldap] / libraries / libldap / friendly.c
index 5a5567dfee844008c72c21005d8880fb9933e204..ef07adc82b2793d40802cc93c6bd6ef314b7cc90 100644 (file)
@@ -83,8 +83,8 @@ ldap_friendly_name( char *filename, char *uname, LDAPFriendlyMap **map )
                                }
                        }
 
-                       (*map)[i].lf_unfriendly = ldap_strdup( buf );
-                       (*map)[i].lf_friendly   = ldap_strdup( s );
+                       (*map)[i].lf_unfriendly = strdup( buf );
+                       (*map)[i].lf_friendly   = strdup( s );
                        i++;
                }