/* time.c - deal with time subsystem */
/*
- * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/*
struct monitorentrypriv *mp;
char buf[1024];
struct tm *tms;
- char tmbuf[20];
+ char tmbuf[ LDAP_LUTIL_GENTIME_BUFSIZE ];
/*
* Note: ltmbuf, ltm are used only if HACK_LOCAL_TIME is defined
Entry *e
)
{
- char stmbuf[20], ctmbuf[20];
+ char stmbuf[ LDAP_LUTIL_GENTIME_BUFSIZE ],
+ ctmbuf[ LDAP_LUTIL_GENTIME_BUFSIZE ];
struct tm *stm, *ctm;
Attribute *a;
ber_len_t len;