[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4053 - trunk/OpenDNSSEC/signer/src/util

Matthijs Mekking matthijs at nlnetlabs.nl
Tue Oct 5 14:44:20 CEST 2010


Author: matthijs
Date: 2010-10-05 14:44:20 +0200 (Tue, 05 Oct 2010)
New Revision: 4053

Modified:
   trunk/OpenDNSSEC/signer/src/util/util.c
Log:
tweak



Modified: trunk/OpenDNSSEC/signer/src/util/util.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/util/util.c	2010-10-05 12:43:57 UTC (rev 4052)
+++ trunk/OpenDNSSEC/signer/src/util/util.c	2010-10-05 12:44:20 UTC (rev 4053)
@@ -159,13 +159,14 @@
     int cmp = 0;
     ldns_dnssec_rrs *new_rrs = NULL;
     ldns_status status = LDNS_STATUS_OK;
-    uint32_t rr_ttl = ldns_rr_ttl(rr);
+    uint32_t rr_ttl = 0;
     uint32_t default_ttl = 0;
 
     se_log_assert(rrs);
     se_log_assert(rrs->rr);
     se_log_assert(rr);
 
+    rr_ttl = ldns_rr_ttl(rr);
     status = util_dnssec_rrs_compare(rrs->rr, rr, &cmp);
     if (status != LDNS_STATUS_OK) {
         return status;




More information about the Opendnssec-commits mailing list