From: rousskov <> Date: Wed, 25 Feb 1998 23:35:08 +0000 (+0000) Subject: Changed %f to %lf. X-Git-Tag: SQUID_3_0_PRE1~3993 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2961668b4fedc47880a17526c867402b1e1594db;p=thirdparty%2Fsquid.git Changed %f to %lf. --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index f790204ef0..c84dd57761 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -1,5 +1,5 @@ /* - * $Id: HttpHeader.cc,v 1.7 1998/02/25 09:53:53 rousskov Exp $ + * $Id: HttpHeader.cc,v 1.8 1998/02/25 16:35:08 rousskov Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -1471,7 +1471,7 @@ httpHeaderFieldStatDumper(StoreEntry * sentry, int idx, double val, double size, const int valid_id = id >= 0 && id < HDR_ENUM_END; const char *name = valid_id ? Headers[id].name : "INVALID"; if (count || valid_id) - storeAppendPrintf(sentry, "%2d\t %-20s\t %5d\t %6.2f\n", + storeAppendPrintf(sentry, "%2d\t %-20s\t %5d\t %6.2lf\n", id, name, count, xdiv(count, HeaderParsedCount)); } @@ -1482,7 +1482,7 @@ httpHeaderCCStatDumper(StoreEntry * sentry, int idx, double val, double size, in const int valid_id = id >= 0 && id < SCC_ENUM_END; const char *name = valid_id ? SccAttrs[id].name : "INVALID"; if (count || valid_id) - storeAppendPrintf(sentry, "%2d\t %-20s\t %5d\t %6.2f\n", + storeAppendPrintf(sentry, "%2d\t %-20s\t %5d\t %6.2lf\n", id, name, count, xdiv(count, CcPasredCount)); } @@ -1491,7 +1491,7 @@ static void httpHeaderFldsPerHdrDumper(StoreEntry * sentry, int idx, double val, double size, int count) { if (count) - storeAppendPrintf(sentry, "%2d\t %5d\t %5d\t %6.2f\n", + storeAppendPrintf(sentry, "%2d\t %5d\t %5d\t %6.2lf\n", idx, ((int)(val+size)), count, xpercent(count, HeaderEntryParsedCount)); } @@ -1523,9 +1523,9 @@ shortStringStatDump(StoreEntry *e) storeAppendPrintf(e, "
%s\n
\n", memPoolReport(shortStrings)); storeAppendPrintf(e, "