]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
journal index array was corrupted on write
authorAndreas Gustafsson <source@isc.org>
Fri, 22 Dec 2000 23:37:03 +0000 (23:37 +0000)
committerAndreas Gustafsson <source@isc.org>
Fri, 22 Dec 2000 23:37:03 +0000 (23:37 +0000)
lib/dns/journal.c

index f25f4473625af2b71935e84eb1d52eccbc1a8626..90c6e3baab07eb952c15343c7c2f7a3ba33b21db 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: journal.c,v 1.69 2000/12/11 19:24:08 bwelling Exp $ */
+/* $Id: journal.c,v 1.70 2000/12/22 23:37:03 gson Exp $ */
 
 #include <config.h>
 
@@ -1157,7 +1157,7 @@ dns_journal_commit(dns_journal_t *j) {
                }
                INSIST(p == j->rawindex + rawbytes);
 
-               CHECK(journal_write(j, j->index, rawbytes));
+               CHECK(journal_write(j, j->rawindex, rawbytes));
        }
 
        /*