]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
don't send date to syslog
authorwessels <>
Tue, 15 Oct 1996 03:28:09 +0000 (03:28 +0000)
committerwessels <>
Tue, 15 Oct 1996 03:28:09 +0000 (03:28 +0000)
src/debug.cc

index 860cb131b5074b73187a036d0b891f27e56a1d05..42d269768b848fc1cdd68ede35dde2fb1649ac49 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: debug.cc,v 1.30 1996/10/09 15:34:22 wessels Exp $
+ * $Id: debug.cc,v 1.31 1996/10/14 21:28:09 wessels Exp $
  *
  * DEBUG: section 0     Debug Routines
  * AUTHOR: Harvest Derived
@@ -166,9 +166,9 @@ _db_print(va_alist)
 
 #if HAVE_SYSLOG
     /* level 0 go to syslog */
-    if ((level == 0) && opt_syslog_enable) {
+    if (level == 0 && opt_syslog_enable) {
        tmpbuf[0] = '\0';
-       vsprintf(tmpbuf, f, args);
+       vsprintf(tmpbuf, format, args);
        tmpbuf[1023] = '\0';
        syslog(LOG_ERR, "%s", tmpbuf);
     }