]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
missed one change
authorMark Andrews <marka@isc.org>
Tue, 2 Apr 2002 08:04:42 +0000 (08:04 +0000)
committerMark Andrews <marka@isc.org>
Tue, 2 Apr 2002 08:04:42 +0000 (08:04 +0000)
lib/dns/zone.c

index 081aaea60d83d7c10d929225bb8d2cf4a9fdefdd..b7b85a8a7aaef45546f0591059347d7f1a5c847f 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.366 2002/04/02 06:53:58 marka Exp $ */
+/* $Id: zone.c,v 1.367 2002/04/02 08:04:42 marka Exp $ */
 
 #include <config.h>
 
@@ -2228,7 +2228,8 @@ zone_needdump(dns_zone_t *zone, unsigned int delay) {
        if (isc_time_isepoch(&zone->dumptime) ||
            isc_time_compare(&zone->dumptime, &dumptime) > 0)
                zone->dumptime = dumptime;
-       zone_settimer(zone, &now);
+       if (zone->task != NULL)
+               zone_settimer(zone, &now);
 }
 
 static void