get_block_reason_statistics_table(): Add new lines between table rows
authorFabian Keil <fk@fabiankeil.de>
Mon, 10 Aug 2020 15:55:15 +0000 (17:55 +0200)
committerFabian Keil <fk@fabiankeil.de>
Mon, 10 Aug 2020 19:16:15 +0000 (21:16 +0200)
Sponsored by: Robert Klemme

cgisimple.c

index e738a60..0077e7c 100644 (file)
@@ -1087,7 +1087,7 @@ static char *get_block_reason_statistics_table(const struct client_state *csp)
             }
             get_block_reason_count(block_reason, &count);
             snprintf(buf, sizeof(buf),
             }
             get_block_reason_count(block_reason, &count);
             snprintf(buf, sizeof(buf),
-               "<tr><td>%s</td><td style=\"text-align: right\">%llu</td>",
+               "<tr><td>%s</td><td style=\"text-align: right\">%llu</td>\n",
                encoded_block_reason, count);
             freez(encoded_block_reason);
 
                encoded_block_reason, count);
             freez(encoded_block_reason);