dns_journal_print() nor returns DNS_R_NOJOURNAL if the journal does not exist.

This commit is contained in:
Mark Andrews
1999-12-13 02:58:06 +00:00
parent 4754765cc0
commit 33a2ca5a71

View File

@@ -1849,7 +1849,7 @@ dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file) {
result = dns_journal_open(mctx, filename, ISC_FALSE, &j);
if (result == DNS_R_NOTFOUND) {
isc_log_write(JOURNAL_DEBUG_LOGARGS(3), "no journal file");
return (DNS_R_NOTFOUND);
return (DNS_R_NOJOURNAL);
}
if (result != DNS_R_SUCCESS) {