]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3780: cachemgr.cgi: output problem in HTTP Header Statistics
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 May 2013 12:35:23 +0000 (06:35 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 May 2013 12:35:23 +0000 (06:35 -0600)
src/HttpHeader.cc

index fdfa8ac0c9ca7ba0bb6b104ab84e43d33a3a2dd1..5dce4eed1d0c2de7037dff5e935319eb0cf03144 100644 (file)
@@ -1741,6 +1741,7 @@ httpHeaderStatDump(const HttpHeaderStat * hs, StoreEntry * e)
     storeAppendPrintf(e, "%2s\t %-5s\t %5s\t %6s\n",
                       "id", "#flds", "count", "%total");
     hs->hdrUCountDistr.dump(e, httpHeaderFldsPerHdrDumper);
+    storeAppendPrintf(e, "\n");
     dump_stat = NULL;
 }
 
@@ -1762,7 +1763,6 @@ httpHeaderStoreReport(StoreEntry * e)
 
     for (i = 1; i < HttpHeaderStatCount; ++i) {
         httpHeaderStatDump(HttpHeaderStats + i, e);
-        storeAppendPrintf(e, "%s\n", "<br>");
     }
 
     /* field stats for all messages */