2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

white space; move pause to before comment.

This commit is contained in:
Mark Andrews 2012-10-03 10:11:07 +10:00
parent 1baa6d31dc
commit f4f15cbf71

View File

@ -6860,6 +6860,7 @@ zone_nsec3chain(dns_zone_t *zone) {
if (rebuild_nsec) { if (rebuild_nsec) {
if (nsec3chain != NULL) if (nsec3chain != NULL)
dns_dbiterator_pause(nsec3chain->dbiterator); dns_dbiterator_pause(nsec3chain->dbiterator);
result = updatesecure(db, version, &zone->origin, result = updatesecure(db, version, &zone->origin,
zone->minimum, ISC_TRUE, zone->minimum, ISC_TRUE,
&nsec_diff); &nsec_diff);
@ -6871,9 +6872,11 @@ zone_nsec3chain(dns_zone_t *zone) {
goto failure; goto failure;
} }
} }
if (rebuild_nsec3) { if (rebuild_nsec3) {
if (nsec3chain != NULL) if (nsec3chain != NULL)
dns_dbiterator_pause(nsec3chain->dbiterator); dns_dbiterator_pause(nsec3chain->dbiterator);
result = dns_nsec3_addnsec3s(db, version, result = dns_nsec3_addnsec3s(db, version,
dns_db_origin(db), dns_db_origin(db),
zone->minimum, ISC_FALSE, 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. * Add / update signatures for the NSEC3 records.
*/ */