]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/friendly.c
Add libtool support based upon patch by Bart Hartgers <Hartgers@kfm1.phys.tue.nl>
[openldap] / libraries / libldap / friendly.c
index 12896aad8370b9d75aa497100f91de6ad0a6a313..278c729cee01b27570c0fd60f9a2dd21375b3c8b 100644 (file)
@@ -83,8 +83,8 @@ ldap_friendly_name( char *filename, char *uname, FriendlyMap **map )
                                }
                        }
 
-                       (*map)[i].f_unfriendly = strdup( buf );
-                       (*map)[i].f_friendly strdup( s );
+                       (*map)[i].f_unfriendly = ldap_strdup( buf );
+                       (*map)[i].f_friendly   = ldap_strdup( s );
                        i++;
                }