]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
cosmetic: The debug message "WARNING! Your cache is running out of
authorwessels <>
Sat, 27 May 2006 01:58:37 +0000 (01:58 +0000)
committerwessels <>
Sat, 27 May 2006 01:58:37 +0000 (01:58 +0000)
filedescriptors" appears in two places.  I changed it to debugs()
macro with HERE argument to differentiate the two messages.

src/client_side.cc
src/comm.cc

index 56666c109740f6fb69079643282f475db6fc183c..8cd22df968fd8c6e1d9b3c3a3fd9b4466bd1a716 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.725 2006/05/11 21:28:29 wessels Exp $
+ * $Id: client_side.cc,v 1.726 2006/05/26 19:58:37 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -2715,7 +2715,7 @@ okToAccept()
         return true;
 
     if (last_warn + 15 < squid_curtime) {
-        debug(33, 0) ("WARNING! Your cache is running out of filedescriptors\n");
+        debugs(33, 0, HERE << "WARNING! Your cache is running out of filedescriptors");
         last_warn = squid_curtime;
     }
 
index 58473c2a66fe3533ca02f97b294f344fc39cf573..e83fe0c01012ea2a92e8541ba8a94168a4c661cd 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.417 2006/05/26 19:53:18 wessels Exp $
+ * $Id: comm.cc,v 1.418 2006/05/26 19:58:37 wessels Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -945,7 +945,7 @@ comm_accept_check_event(void *data)
     }
 
     if (last_warn + 15 < squid_curtime) {
-        debug(33, 0) ("WARNING! Your cache is running out of filedescriptors\n");
+        debugs(33, 0, HERE << "WARNING! Your cache is running out of filedescriptors");
         last_warn = squid_curtime;
     }