Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2025-02-23 15:22:38 +0100
committerArthur de Jong <arthur@arthurdejong.org>2025-02-23 15:30:39 +0100
commit8ddb983a546f632986a84a784c4625110f7782a2 (patch)
treeb3ca7747a328af1bfc95d599f3bac781a247ce23
parent5f4aacc4a96b452c11e7a1a5625e86d29cb38b1e (diff)
Fix variable name (bool) which is a keyword in C23HEADmaster
Closes https://bugs.debian.org/1097481
-rw-r--r--nslcd/cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index ded797a..b984b0e 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -207,10 +207,10 @@ static int get_boolean(const char *filename, int lnr,
return parse_boolean(filename, lnr, token);
}
-static const char *print_boolean(int bool)
+static const char *print_boolean(int value)
{
- if (bool) return "yes";
- else return "no";
+ if (value) return "yes";
+ else return "no";
}
#define TIME_MINUTES 60