diff options
Diffstat (limited to 'source4/lib/util/debug.c')
-rw-r--r-- | source4/lib/util/debug.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source4/lib/util/debug.c b/source4/lib/util/debug.c index c29b3bfaec..67663cb6ce 100644 --- a/source4/lib/util/debug.c +++ b/source4/lib/util/debug.c @@ -46,22 +46,23 @@ static struct { const char *prog_name; } state; -static BOOL reopen_logs_scheduled; -static BOOL check_reopen_logs(void) +static bool reopen_logs_scheduled; +static bool check_reopen_logs(void) { if (state.fd == 0 || reopen_logs_scheduled) { - reopen_logs_scheduled = False; + reopen_logs_scheduled = false; reopen_logs(); } - if (state.fd <= 0) return False; + if (state.fd <= 0) + return false; - return True; + return true; } _PUBLIC_ void debug_schedule_reopen_logs(void) { - reopen_logs_scheduled = True; + reopen_logs_scheduled = true; } static void log_timestring(int level, const char *location, const char *func) |