]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/tmplout.c
Add reference to ldap.conf(5).
[openldap] / libraries / libldap / tmplout.c
index d815cfb954647725c8f1e72d9e9d0760b07b33ab..291ec3a785d5e83bec01c8b150d0d824c0fc4d76 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 /*
  * tmplout.c:  display template library output routines for LDAP clients
  * 12 April 1994 by Mark C Smith
@@ -901,7 +905,7 @@ time2text( char *ldtimestr, int dateonly )
 
     gmttime = gtime( &t );
 
-    timestr = ldap_int_ctime( &gmttime, timebuf );
+    timestr = ldap_pvt_ctime( &gmttime, timebuf );
    
     timestr[ strlen( timestr ) - 1 ] = zone;   /* replace trailing newline */
     if ( dateonly ) {