mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 02:42:33 -05:00
file versions needs to be signed int, because ISC_LOG_ROLLNEVER is negative
This commit is contained in:
parent
c2e880fa8b
commit
0cdff5948e
1 changed files with 5 additions and 1 deletions
|
|
@ -79,7 +79,11 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx) {
|
|||
type = ISC_LOG_TOFILE;
|
||||
{
|
||||
const char *path = NULL;
|
||||
isc_uint32_t versions = ISC_LOG_ROLLNEVER;
|
||||
isc_int32_t versions = ISC_LOG_ROLLNEVER;
|
||||
/*
|
||||
* XXXDCL should be isc_offset_t, but that
|
||||
* is incompatible with dns_c_logchan_getsize.
|
||||
*/
|
||||
isc_uint32_t size = 0;
|
||||
(void)dns_c_logchan_getpath(cchan, &path);
|
||||
if (path == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue