summaryrefslogtreecommitdiffstats
path: root/modules/cache/mod_socache_redis.c
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2016-11-15 07:42:48 +0100
committerChristophe Jaillet <jailletc36@apache.org>2016-11-15 07:42:48 +0100
commitf8b4fe0fa0a7ff41ad456191d8c887220baa325f (patch)
treef72c953cd9f4ba2f1345060c4366b068f731270d /modules/cache/mod_socache_redis.c
parentxform (diff)
downloadapache2-f8b4fe0fa0a7ff41ad456191d8c887220baa325f.tar.xz
apache2-f8b4fe0fa0a7ff41ad456191d8c887220baa325f.zip
Fix some HTML tags
</br> --> <br /> Couls also be <br> or <br/> but some (very) old clients don't like it. httpd is not really consistent on it. (personnlaly <br> would be just fine for me but <br /> is the most commonly used form) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1769737 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/cache/mod_socache_redis.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/cache/mod_socache_redis.c b/modules/cache/mod_socache_redis.c
index f7482445c0..f68d3c7c90 100644
--- a/modules/cache/mod_socache_redis.c
+++ b/modules/cache/mod_socache_redis.c
@@ -306,7 +306,7 @@ static void socache_rd_status(ap_socache_instance_t *ctx, request_rec *r, int fl
apr_redis_stats_t *stats;
char *role;
apr_status_t rv;
- char *br = (!(flags & AP_STATUS_SHORT) ? "</br>" : "");
+ char *br = (!(flags & AP_STATUS_SHORT) ? "<br />" : "");
rs = rc->live_servers[i];
@@ -317,21 +317,21 @@ static void socache_rd_status(ap_socache_instance_t *ctx, request_rec *r, int fl
if (rv != APR_SUCCESS)
continue;
if (!(flags & AP_STATUS_SHORT)) {
- ap_rprintf(r, "<b>General::</b> Version: <i>%u.%u.%u</i> [%u bits], PID: <i>%u</i>, Uptime: <i>%u hrs</i> </br>\n",
+ ap_rprintf(r, "<b>General::</b> Version: <i>%u.%u.%u</i> [%u bits], PID: <i>%u</i>, Uptime: <i>%u hrs</i> <br />\n",
stats->major, stats->minor, stats->patch, stats->arch_bits,
stats->process_id, stats->uptime_in_seconds/3600);
- ap_rprintf(r, "<b>Clients::</b> Connected: <i>%d</i>, Blocked: <i>%d</i> </br>\n",
+ ap_rprintf(r, "<b>Clients::</b> Connected: <i>%d</i>, Blocked: <i>%d</i> <br />\n",
stats->connected_clients, stats->blocked_clients);
- ap_rprintf(r, "<b>Memory::</b> Total: <i>%lu</i>, Max: <i>%lu</i>, Used: <i>%lu</i> </br>\n",
+ ap_rprintf(r, "<b>Memory::</b> Total: <i>%lu</i>, Max: <i>%lu</i>, Used: <i>%lu</i> <br />\n",
stats->total_system_memory, stats->maxmemory, stats->used_memory);
- ap_rprintf(r, "<b>CPU::</b> System: <i>%u</i>, User: <i>%u</i></br>\n",
+ ap_rprintf(r, "<b>CPU::</b> System: <i>%u</i>, User: <i>%u</i><br />\n",
stats->used_cpu_sys, stats->used_cpu_user );
- ap_rprintf(r, "<b>Connections::</b> Recd: <i>%lu</i>, Processed: <i>%lu</i>, Rejected: <i>%lu</i> </br>\n",
+ ap_rprintf(r, "<b>Connections::</b> Recd: <i>%lu</i>, Processed: <i>%lu</i>, Rejected: <i>%lu</i> <br />\n",
stats->total_connections_received, stats->total_commands_processed,
stats->rejected_connections);
- ap_rprintf(r, "<b>Cache::</b> Hits: <i>%lu</i>, Misses: <i>%lu</i> </br>\n",
+ ap_rprintf(r, "<b>Cache::</b> Hits: <i>%lu</i>, Misses: <i>%lu</i> <br />\n",
stats->keyspace_hits, stats->keyspace_misses);
- ap_rprintf(r, "<b>Net::</b> Input bytes: <i>%lu</i>, Output bytes: <i>%lu</i> </br>\n",
+ ap_rprintf(r, "<b>Net::</b> Input bytes: <i>%lu</i>, Output bytes: <i>%lu</i> <br />\n",
stats->total_net_input_bytes, stats->total_net_output_bytes);
if (stats->role == APR_RS_SERVER_MASTER)
role = "master";
@@ -342,7 +342,7 @@ static void socache_rd_status(ap_socache_instance_t *ctx, request_rec *r, int fl
ap_rprintf(r, "<b>Misc::</b> Role: <i>%s</i>, Connected Slaves: <i>%u</i>, Is Cluster?: <i>%s</i> \n",
role, stats->connected_clients,
(stats->cluster_enabled ? "yes" : "no"));
- ap_rputs("<hr></br>\n", r);
+ ap_rputs("<hr><br />\n", r);
}
else {
ap_rprintf(r, "Version: %u.%u.%u [%u bits], PID: %u, Uptime: %u hrs %s\n",