From: wessels <> Date: Sat, 27 May 2006 01:58:37 +0000 (+0000) Subject: cosmetic: The debug message "WARNING! Your cache is running out of X-Git-Tag: SQUID_3_0_PRE4~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aefecdd30fced7bbba0e22d29a8c815f98531d71;p=thirdparty%2Fsquid.git cosmetic: The debug message "WARNING! Your cache is running out of filedescriptors" appears in two places. I changed it to debugs() macro with HERE argument to differentiate the two messages. --- diff --git a/src/client_side.cc b/src/client_side.cc index 56666c1097..8cd22df968 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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; } diff --git a/src/comm.cc b/src/comm.cc index 58473c2a66..e83fe0c010 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -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; }