From 67f06327f99bf484dd6aad067a8dd0eea6d7fcec Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 20 Jan 2007 21:40:25 +0000 Subject: [PATCH] Don't use 'int' where you mean 'bool'. --- src/backend/utils/error/elog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index 45bd0998b8..7568b081af 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -42,7 +42,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.180 2007/01/20 14:45:35 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.181 2007/01/20 21:40:25 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -121,7 +121,7 @@ static char *expand_fmt_string(const char *fmt, ErrorData *edata); static const char *useful_strerror(int errnum); static const char *error_severity(int elevel); static void append_with_tabs(StringInfo buf, const char *str); -static int is_log_level_output(int elevel, int log_min_level); +static bool is_log_level_output(int elevel, int log_min_level); /* @@ -2052,8 +2052,8 @@ write_stderr(const char *fmt,...) va_end(ap); } - -static int is_log_level_output(int elevel, int log_min_level) +static bool +is_log_level_output(int elevel, int log_min_level) { /* * Complicated because LOG is sorted out-of-order here, between -- 2.40.0