From: wessels <> Date: Tue, 15 Oct 1996 03:28:09 +0000 (+0000) Subject: don't send date to syslog X-Git-Tag: SQUID_3_0_PRE1~5661 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1249aca0e6cc61fab90bdb34bb39d6a5052ec594;p=thirdparty%2Fsquid.git don't send date to syslog --- diff --git a/src/debug.cc b/src/debug.cc index 860cb131b5..42d269768b 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -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); }