]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/friendly.c
Add lber_log_print support to libldap.
[openldap] / libraries / libldap / friendly.c
index c07db1bd12187edc6a972f1e68374c03186e0177..ef07adc82b2793d40802cc93c6bd6ef314b7cc90 100644 (file)
@@ -1,4 +1,8 @@
 /*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
+/*  Portions
  *  Copyright (c) 1990 Regents of the University of Michigan.
  *  All rights reserved.
  *
@@ -7,10 +11,6 @@
 
 #include "portable.h"
 
-#ifndef lint 
-static char copyright[] = "@(#) Copyright (c) 1993 Regents of the University of Michigan.\nAll rights reserved.\n";
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -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++;
                }