]> granicus.if.org Git - apache/commitdiff
Fix some HTML tags
authorChristophe Jaillet <jailletc36@apache.org>
Tue, 15 Nov 2016 06:42:48 +0000 (06:42 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Tue, 15 Nov 2016 06:42:48 +0000 (06:42 +0000)
</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

modules/cache/mod_socache_redis.c

index f7482445c07fd6a1c063a2c35c845cc711e47f7c..f68d3c7c90d9b81a5530455f2a42264a9af6c8f2 100644 (file)
@@ -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",