From 8a711bcd395848d2f9bb1e3ca3e18520c14b5d2e Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 28 Nov 2000 02:33:58 +0000 Subject: [PATCH] clarified comment --- lib/dns/zone.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 6960398db7..1a8e9c7778 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.260 2000/11/28 01:59:25 mws Exp $ */ +/* $Id: zone.c,v 1.261 2000/11/28 02:33:58 gson Exp $ */ #include @@ -4466,11 +4466,15 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) { if (dump && zone->journal != NULL) { /* - * The in-memory database just changed, and because 'dump' - * is set, it didn't change by being loaded from disk. - * Also, we have not journalled diffs for this change. - * Therefore, the on-disk journal is missing the deltas - * for this change and must be considered invalid. + * The in-memory database just changed, and + * because 'dump' is set, it didn't change by + * being loaded from disk. Also, we have not + * journalled diffs for this change. + * Therefore, the on-disk journal is missing + * the deltas for this change. Since it can + * no longer be used to bring the zone + * up-to-date, it is useless and should be + * removed. */ isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_ZONE, ISC_LOG_DEBUG(3),