]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1993. [bug] Log messsage, via syslog, were missing the space
authorMark Andrews <marka@isc.org>
Wed, 1 Mar 2006 02:25:11 +0000 (02:25 +0000)
committerMark Andrews <marka@isc.org>
Wed, 1 Mar 2006 02:25:11 +0000 (02:25 +0000)
                        after the timestamp if "print-time yes" was specified.
                        [RT #15844]

CHANGES
lib/isc/log.c

diff --git a/CHANGES b/CHANGES
index 17b3eee5e530c49910a0bf6eac60a9554a481e18..51b9afb6af9243be177d2aa8b898623bd4a0ea21 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+1993.  [bug]           Log messsage, via syslog, were missing the space
+                       after the timestamp if "print-time yes" was specified.
+                       [RT #15844]
+
 1992.  [bug]           Not all incoming zone transfer messages included the
                        view.  [RT #15825]
 
index 126676dc4724f72047b3d20bff757f54f80beca6..c6e73c70ea666f02075d19dd8ffdb8c582e9d39b 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.84.18.6 2005/07/12 01:22:28 marka Exp $ */
+/* $Id: log.c,v 1.84.18.7 2006/03/01 02:25:11 marka Exp $ */
 
 /*! \file
  * \author  Principal Authors: DCL */
@@ -1735,8 +1735,9 @@ isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
                                syslog_level = syslog_map[-level];
 
                        (void)syslog(FACILITY(channel) | syslog_level,
-                              "%s%s%s%s%s%s%s%s%s",
+                              "%s%s%s%s%s%s%s%s%s%s",
                               printtime     ? time_string      : "",
+                              printtime     ? " "              : "",
                               printtag      ? lcfg->tag        : "",
                               printtag      ? ": "             : "",
                               printcategory ? category->name   : "",