mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
use ISC_TF() to set an isc_boolean_t
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: log.c,v 1.59 2001/03/28 05:48:16 tale Exp $ */
|
||||
/* $Id: log.c,v 1.60 2001/04/12 21:04:14 tale Exp $ */
|
||||
|
||||
/* Principal Authors: DCL */
|
||||
|
||||
@@ -1250,8 +1250,8 @@ isc_log_open(isc_logchannel_t *channel) {
|
||||
regular_file = (statbuf.st_mode & S_IFREG) ?
|
||||
ISC_TRUE : ISC_FALSE;
|
||||
/* XXXDCL if not regular_file complain? */
|
||||
roll = regular_file &&
|
||||
statbuf.st_size >= FILE_MAXSIZE(channel);
|
||||
roll = ISC_TF(regular_file &&
|
||||
statbuf.st_size >= FILE_MAXSIZE(channel));
|
||||
} else if (errno == ENOENT)
|
||||
regular_file = ISC_TRUE;
|
||||
else
|
||||
|
Reference in New Issue
Block a user