From f473c6765ca9111b20dc50b6c2f0d2742faa3c4b Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 19 Sep 2012 14:37:21 -0400 Subject: [PATCH] Use 1/0 not TRUE/FALSE. --HG-- branch : 1.7 --- sudoreplay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sudoreplay.c b/sudoreplay.c index 153ab11b6..e39566d85 100644 --- a/sudoreplay.c +++ b/sudoreplay.c @@ -960,9 +960,9 @@ find_sessions(dir, re, user, tty) size_t sdlen, sessions_len = 0, sessions_size = 36*36; int i, len; #ifdef HAVE_STRUCT_DIRENT_D_TYPE - int checked_type = TRUE; + int checked_type = 1; #else - const int checked_type = FALSE; + const int checked_type = 0; #endif char pathbuf[PATH_MAX], **sessions = NULL; @@ -992,7 +992,7 @@ find_sessions(dir, re, user, tty) /* Not all file systems support d_type. */ if (dp->d_type != DT_UNKNOWN) continue; - checked_type = FALSE; + checked_type = 0; } } #endif -- 2.40.0