]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
...and in two different ways, at that
authorAndreas Gustafsson <source@isc.org>
Fri, 22 Dec 2000 23:47:00 +0000 (23:47 +0000)
committerAndreas Gustafsson <source@isc.org>
Fri, 22 Dec 2000 23:47:00 +0000 (23:47 +0000)
lib/dns/journal.c

index 90c6e3baab07eb952c15343c7c2f7a3ba33b21db..e7f79c4dfec06d05cae5dc5e0ddcdc4a59c1ed91 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: journal.c,v 1.70 2000/12/22 23:37:03 gson Exp $ */
+/* $Id: journal.c,v 1.71 2000/12/22 23:47:00 gson Exp $ */
 
 #include <config.h>
 
@@ -1152,7 +1152,7 @@ dns_journal_commit(dns_journal_t *j) {
                for (i = 0; i < j->header.index_size; i++) {
                        encode_uint32(j->index[i].serial, p);
                        p += 4;
-                       encode_uint32(j->index[i].serial, p);
+                       encode_uint32(j->index[i].offset, p);
                        p += 4;
                }
                INSIST(p == j->rawindex + rawbytes);