]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Mon, 1 Oct 2001 01:42:38 +0000 (01:42 +0000)
committerAndreas Gustafsson <source@isc.org>
Mon, 1 Oct 2001 01:42:38 +0000 (01:42 +0000)
1021.   [bug]           On Win32, log message timestamps were one month
                        later than they should have been, and the server
                        would exhibit unspecified behavior in December.

CHANGES
lib/isc/win32/time.c

diff --git a/CHANGES b/CHANGES
index 8a55ffcb982a52d0b8b7db488756a316810f6a52..93e6c0d6c9271c6e7f7d3651ac66fb733a75cea2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
 
        --- 9.2.0rc5 released ---
 
+1021.  [bug]           On Win32, log message timestamps were one month
+                       later than they should have been, and the server
+                       would exhibit unspecified behavior in December.
+
 1020.  [bug]           IXFR log messages did not distinguish between
                        true IXFRs, AXFR-style IXFRs, and mere version
                        polls. [RT #1811]
index 1e8107c90b37d392e500f28a989766296f354c02..27638372c9622b1fb96f87ec201451c7cc964e04 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.c,v 1.24.2.2 2001/09/05 17:32:05 gson Exp $ */
+/* $Id: time.c,v 1.24.2.3 2001/10/01 01:42:38 gson Exp $ */
 
 #include <config.h>
 
@@ -227,7 +227,7 @@ isc_time_formattimestamp(const isc_time_t *t, char *buf, unsigned int len) {
            FileTimeToSystemTime(&localft, &st))
        {
                snprintf(buf, len, "%s %2u %02u:%02u:%02u.%03u",
-               months[st.wMonth], st.wDay, st.wHour, st.wMinute,
+               months[st.wMonth - 1], st.wDay, st.wHour, st.wMinute,
                st.wSecond, st.wMilliseconds);
        } else {
                snprintf(buf, len, badtime);