2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00
This commit is contained in:
Bob Halley 2000-03-23 22:51:53 +00:00
parent 811fb0d705
commit acee756e38

View File

@ -83,7 +83,7 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx)
type = ISC_LOG_TOFILE; type = ISC_LOG_TOFILE;
{ {
const char *path = NULL; const char *path = NULL;
int versions = ISC_LOG_ROLLNEVER; isc_uint32_t versions = ISC_LOG_ROLLNEVER;
isc_uint32_t size = 0; isc_uint32_t size = 0;
(void) dns_c_logchan_getpath(cchan, &path); (void) dns_c_logchan_getpath(cchan, &path);
if (path == NULL) { if (path == NULL) {
@ -99,7 +99,7 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx)
(void) dns_c_logchan_getsize(cchan, &size); (void) dns_c_logchan_getsize(cchan, &size);
dest.file.stream = NULL; dest.file.stream = NULL;
dest.file.name = cchan->u.filec.path; dest.file.name = cchan->u.filec.path;
dest.file.versions = versions; dest.file.versions = (int)versions;
dest.file.maximum_size = size; dest.file.maximum_size = size;
} }
break; break;