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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user