]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Compile error: the address of `void sigusr2_handle(int)', will always evaluate as...
authorhno <>
Sun, 29 Apr 2007 23:45:18 +0000 (23:45 +0000)
committerhno <>
Sun, 29 Apr 2007 23:45:18 +0000 (23:45 +0000)
Not sure what the error really is about, but we don't need to print out
that address, the function name is better..

src/tools.cc

index be0b445a74c97b214644e8c9331c6e8c8739fff5..f89517cf51009a0d07feeed3ad8b31d9387ac137 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: tools.cc,v 1.274 2007/04/28 22:26:38 hno Exp $
+ * $Id: tools.cc,v 1.275 2007/04/29 17:45:18 hno Exp $
  *
  * DEBUG: section 21    Misc Functions
  * AUTHOR: Harvest Derived
@@ -425,8 +425,7 @@ sigusr2_handle(int sig)
 
 #if !HAVE_SIGACTION
     if (signal(sig, sigusr2_handle) == SIG_ERR)        /* reinstall */
-        debugs(50, 0, "signal: sig=" << sig << " func=" << sigusr2_handle <<
-               ": " << xstrerror());
+        debugs(50, 0, "signal: sig=" << sig << " func=sigusr2_handle: " << xstrerror());
 
 #endif
 }