]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Change cachemgr filedescriptors timeout column to seconds
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Mon, 7 Apr 2008 20:51:24 +0000 (22:51 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Mon, 7 Apr 2008 20:51:24 +0000 (22:51 +0200)
generally more useful that way. Also a forward-port from Squid-2.

src/fde.cc

index 09264431ab14d930f695eecdd38c8111edd8fd91..8153261ef95b08e699099a15c444474649efa58a 100644 (file)
@@ -64,7 +64,7 @@ fde::dumpStats (StoreEntry &dumpEntry, int fdNumber)
                       fdNumber,
 #endif
                       fdTypeStr[type],
-                      timeoutHandler != NULL ? (int) (timeout - squid_curtime) / 60 : 0,
+                      timeoutHandler != NULL ? (int) (timeout - squid_curtime) : 0,
                       bytes_read,
                       readPending(fdNumber) ? '*' : ' ',
                       bytes_written,