[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3831 - in trunk/OpenDNSSEC/signer/src: scheduler signer

Matthijs Mekking matthijs at nlnetlabs.nl
Tue Aug 31 09:56:43 CEST 2010


Author: matthijs
Date: 2010-08-31 09:56:43 +0200 (Tue, 31 Aug 2010)
New Revision: 3831

Modified:
   trunk/OpenDNSSEC/signer/src/scheduler/task.c
   trunk/OpenDNSSEC/signer/src/signer/domain.c
Log:
fix trunk

Modified: trunk/OpenDNSSEC/signer/src/scheduler/task.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/scheduler/task.c	2010-08-31 07:23:51 UTC (rev 3830)
+++ trunk/OpenDNSSEC/signer/src/scheduler/task.c	2010-08-31 07:56:43 UTC (rev 3831)
@@ -90,7 +90,7 @@
         fprintf(fd, ";%s\n", ODS_SE_FILE_MAGIC);
         fprintf(fd, "; who: %s\n", task->who);
         fprintf(fd, "; what: %i\n", (int) task->what);
-        fprintf(fd, "; when: %s\n", (uint32_t) task->when);
+        fprintf(fd, "; when: %u\n", (uint32_t) task->when);
         fprintf(fd, "; flush: %i\n", task->flush);
         fprintf(fd, "; backoff: %u\n", (uint32_t) task->backoff);
         fprintf(fd, ";%s\n", ODS_SE_FILE_MAGIC);

Modified: trunk/OpenDNSSEC/signer/src/signer/domain.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-08-31 07:23:51 UTC (rev 3830)
+++ trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-08-31 07:56:43 UTC (rev 3831)
@@ -840,10 +840,10 @@
 {
     char* str = NULL;
 
-    str = ldns_rdf2str(domain->dname);
-    fprintf(fd, "; dname: %s %u %u %u %i %i %i\n", str,
-        domain->inbound_serial, domain->internal_serial,
-        domain->outbound_serial, (int) domain->domain_status,
+    str = ldns_rdf2str(domain->name);
+    fprintf(fd, "; dname: %s %u %u %i %i %i\n", str,
+        domain->internal_serial, domain->outbound_serial,
+        (int) domain->domain_status,
         domain->nsec_bitmap_changed, domain->nsec_nxt_changed);
     se_free((void*) str);
 




More information about the Opendnssec-commits mailing list