diff --git a/modules/ldap/util_ldap_cache_mgr.c b/modules/ldap/util_ldap_cache_mgr.c index 83a2655982..48018d1973 100644 --- a/modules/ldap/util_ldap_cache_mgr.c +++ b/modules/ldap/util_ldap_cache_mgr.c @@ -576,18 +576,18 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st) buf = ""; } - ap_rputs(apr_psprintf(r->pool, - "

\n" - "\n" - "\n" - "" - "" - "\n" - "
Cache Name:%s (%s)
\n

\n", - buf, - cachetype[0] == 'm'? "Main" : - (cachetype[0] == 's' ? "Search" : - (cachetype[0] == 'c' ? "Compares" : "DNCompares"))), r); + ap_rprintf(r, + "

\n" + "\n" + "\n" + "" + "" + "\n" + "
Cache Name:%s (%s)
\n

\n", + buf, + cachetype[0] == 'm'? "Main" : + (cachetype[0] == 's' ? "Search" : + (cachetype[0] == 'c' ? "Compares" : "DNCompares"))); switch (cachetype[0]) { case 'm': @@ -597,35 +597,35 @@ char *util_ald_cache_display(request_rec *r, util_ldap_state_t *st) else date_str[0] = 0; - ap_rputs(apr_psprintf(r->pool, - "

\n" - "\n" - "\n" - "" - "" - "\n" - "\n" - "" - "" - "\n" - "\n" - "" - "" - "\n" - "\n" - "" - "" - "\n" - "\n" - "" - "" - "\n" - "
Size:%ld
Max Entries:%ld
# Entries:%ld
Full Mark:%ld
Full Mark Time:%s
\n

\n", - util_ldap_cache->size, - util_ldap_cache->maxentries, - util_ldap_cache->numentries, - util_ldap_cache->fullmark, - date_str), r); + ap_rprintf(r, + "

\n" + "\n" + "\n" + "" + "" + "\n" + "\n" + "" + "" + "\n" + "\n" + "" + "" + "\n" + "\n" + "" + "" + "\n" + "\n" + "" + "" + "\n" + "
Size:%ld
Max Entries:%ld
# Entries:%ld
Full Mark:%ld
Full Mark Time:%s
\n

\n", + util_ldap_cache->size, + util_ldap_cache->maxentries, + util_ldap_cache->numentries, + util_ldap_cache->fullmark, + date_str); ap_rputs("

\n" "\n"