add #ifdef DLZ

This commit is contained in:
Mark Andrews 2013-04-29 16:50:15 +10:00
parent 9a785712f1
commit f49613e8a7

View file

@ -991,7 +991,11 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
is_poll = ISC_TRUE;
goto have_stream;
}
#ifdef DLZ
journalfile = is_dlz ? NULL : dns_zone_getjournal(zone);
#else
journalfile = dns_zone_getjournal(zone);
#endif
if (journalfile != NULL)
result = ixfr_rrstream_create(mctx,
journalfile,