From f4f15cbf712950f145eb0874d340568c6df72f29 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 3 Oct 2012 10:11:07 +1000 Subject: [PATCH] white space; move pause to before comment. --- lib/dns/zone.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index d0002d823c..1abe2b8734 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -6860,6 +6860,7 @@ zone_nsec3chain(dns_zone_t *zone) { if (rebuild_nsec) { if (nsec3chain != NULL) dns_dbiterator_pause(nsec3chain->dbiterator); + result = updatesecure(db, version, &zone->origin, zone->minimum, ISC_TRUE, &nsec_diff); @@ -6871,9 +6872,11 @@ zone_nsec3chain(dns_zone_t *zone) { goto failure; } } + if (rebuild_nsec3) { if (nsec3chain != NULL) dns_dbiterator_pause(nsec3chain->dbiterator); + result = dns_nsec3_addnsec3s(db, version, dns_db_origin(db), zone->minimum, ISC_FALSE, @@ -6888,6 +6891,9 @@ zone_nsec3chain(dns_zone_t *zone) { } } + if (nsec3chain != NULL) + dns_dbiterator_pause(nsec3chain->dbiterator); + /* * Add / update signatures for the NSEC3 records. */