1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

better apr_ctime() usage

(too bad it is apr_ctime_LEN instead of apr_ctime_SIZE)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569938 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2007-08-27 00:53:41 +00:00
parent 5873511f51
commit 1c98c19f06
2 changed files with 4 additions and 4 deletions

View File

@@ -602,7 +602,7 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st)
if (r->args && strlen(r->args)) {
char cachetype[5], lint[2];
unsigned int id, off;
char date_str[APR_CTIME_LEN+1];
char date_str[APR_CTIME_LEN];
if ((3 == sscanf(r->args, scanfmt, cachetype, &id, &off, lint)) &&
(id < util_ldap_cache->size)) {