+ 972. [bug] The file modification time code in zone.c was using the
+ wrong epoch. [RT #1667]
+
971. [func] 'try-edns' can be use to disable edns on all queries.
970. [func] 'journal-size' can now be used to set a target
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zone.c,v 1.334 2001/08/30 05:24:44 marka Exp $ */
+/* $Id: zone.c,v 1.335 2001/08/30 06:48:43 marka Exp $ */
#include <config.h>
} else if (isc_serial_eq(soa.serial, zone->serial)) {
if (zone->masterfile != NULL) {
isc_time_t t;
- isc_time_set(&t, now, 0);
+ (void)isc_time_now(&t);
result = isc_file_settime(zone->masterfile, &t);
if (result != ISC_R_SUCCESS)
dns_zone_log(zone, ISC_LOG_ERROR,
} else {
if (next <= now) {
next = now;
- isc_time_now(&expires);
+ (void)isc_time_now(&expires);
isc_interval_set(&interval, 0, 0);
} else {
isc_time_settoepoch(&expires);
*/
if (zone->masterfile != NULL || zone->journal != NULL) {
isc_time_t t;
- isc_time_set(&t, now, 0);
+
+ (void)isc_time_now(&t);
result = ISC_R_FAILURE;
if (zone->journal != NULL)