]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3780: cachemgr.cgi: output problem in HTTP Header Statistics
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 7 May 2013 09:16:37 +0000 (03:16 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 7 May 2013 09:16:37 +0000 (03:16 -0600)
src/HttpHeader.cc

index 451530380475d5aa9c33c924f0a91cb1a826b686..abdc9f45d0b089f5227b8dbabbe54b5ad47ea80f 100644 (file)
@@ -1738,6 +1738,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;
 }
 
@@ -1759,7 +1760,6 @@ httpHeaderStoreReport(StoreEntry * e)
 
     for (i = 1; i < HttpHeaderStatCount; ++i) {
         httpHeaderStatDump(HttpHeaderStats + i, e);
-        storeAppendPrintf(e, "%s\n", "<br>");
     }
 
     /* field stats for all messages */