From: Amos Jeffries Date: Tue, 13 May 2008 11:23:27 +0000 (+1200) Subject: Boost debugging of uniqueHostname lookups X-Git-Tag: SQUID_3_1_0_1~49^2~243 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23c6ebc4f3c22ca3b271c5c57761c4943c899b9f;p=thirdparty%2Fsquid.git Boost debugging of uniqueHostname lookups --- diff --git a/src/tools.cc b/src/tools.cc index fde820e4f9..250adc60d3 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -680,10 +680,11 @@ getMyHostname(void) const char * uniqueHostname(void) { + debugs(21, 3, HERE << " Config: '" << Config.uniqueHostname << "'"); return Config.uniqueHostname ? Config.uniqueHostname : getMyHostname(); } -/* leave a privilegied section. (Give up any privilegies) +/** leave a priviliged section. (Give up any privilegies) * Routines that need privilegies can rap themselves in enter_suid() * and leave_suid() * To give upp all posibilites to gain privilegies use no_suid()